Use a stable cache for input data
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
調査の方向性
まず Snakemake の取得ルールと一覧にあるリモートリソースを確認し、次に、どの非 git 入力に安定したキャッシュ済みコピーが必要か、またライセンスで再配布が許可されているかを判断します。元のリモートリソースを利用できない場合に、ワークフローの入力の再現性が保たれ、ローカルにキャッシュしたファイルを使用できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the feature you'd like to see
Harden input data retrieval steps by using a stable cache such as data.pypsa.org for all workflow data inputs not version-controlled via git.
Motivation
We do use large parts from the PyPSA-DE workflow in PyPSA-AT and run tests frequently on private pipelines and on public github actions. If remote files are not available from remote resources, the snakemake workflow fails early. This is the case even for data files that already exist in a local cache, because the retrieval rules check for the existence of remote resources regardless.
Another pro for using a cache is reproducibility: Input files may change e.g. the .xlsx files, and older results may turn irreproducible on input data updates.
List of resources I know of that sometimes fail
- https://geodata.ucdavis.edu/gadm/gadm4.1/json/gadm41_DEU_1.json.zip
- https://fnb-gas.de/wp-content/uploads/2024/07/2024_07_22_Anlage3_FNB_Massnahmenliste_Neubau.xlsx
- https://fnb-gas.de/wpcontent/uploads/2024/07/2024_07_22_Anlage2_Leitungsmeldungen_weiterer_potenzieller_Wasserstoffnetzbetreiber.xlsx
- https://fnb-gas.de/wp-content/uploads/2024/07/2024_07_22_Anlage4_FNB_Massnahmenliste_Umstellung.xlsx
- https://pubdb.bfe.admin.ch/de/publication/download/12361
Are there reasons for the resources not being copied to a cache? Maybe licensing restricts storing copies?
- 主要言語
- Python
- スター
- 54
- フォーク
- 36
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PyPSA/pypsa-de のほかの issue
-
needs triage
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
needs triage
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
comet-ml/opik#9877 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Resource]: Flavianオープンresource-submission validation-passed
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
hesreallyhim/awesome-claude-code#3736 · コメント 1 件 ·
-
area: trackers bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
Review: WordPress copy/snapshot download media with no size cap and a hostname-only origin checkオープンperformance product:quill
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Community-Access/quill#2634 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信