build_cutout: expose atlite's `monthly_requests` for ERA5 downloads

オープン 初心者向け
#892 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python, yaml

調査の方向性

workflow/scripts/build_cutout.py、build_cutoutルール、workflow/schemas/config.schema.yamlを読み、設定ドキュメントで既存のatlite設定を確認してください。設定値がどのようにcutout.prepareに渡るかを追い、デフォルト値をfalseとする任意の設定を追加して、関連するスキーマまたはワークフローのチェックを実行してください。設定から有効にでき、デフォルトでは既存の実行に変更がない状態になれば完了です。

索引モデルが issue の本文から書いたものです。

説明

workflow/scripts/build_cutout.py calls cutout.prepare(features=features), which submits one CDS request per year and feature. #785 reported these large requests as unreliable and worked around it by hard-coding

cutout.prepare(features=features, monthly_requests=True, concurrent_requests=False)

atlite==0.3.0 (the pinned version) supports both arguments; concurrent_requests=False is already the default.

Proposal

Add an opt-in config key (for example atlite.monthly_requests, default false), pass it through rule build_cutout, and add it to workflow/schemas/config.schema.yaml and the config docs. Only affects runs with enable.build_cutout: true.

Credit to @danielelerede-oet for the original change in #785.

主要言語
Python
スター
154
フォーク
58
平均マージ
3日 9時間
マージ済み PR(30日)
51

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PyPSA/pypsa-usa のほかの issue

PyPSA/pypsa-usa の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。