Use a stable cache for input data

オープン
#183 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
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

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 ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

PyPSA/pypsa-de のほかの issue

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

似ている issue

Python の issue をもっと見る

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

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