Use a stable cache for input data

未关闭
#183 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
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 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

PyPSA/pypsa-de 的其他 Issue

查看 PyPSA/pypsa-de 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。