PyPSA / PyPSA/pypsa-de

Use a stable cache for input data

Open
#183 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
50
Forks
32
Avg merge
5d 21h
Merged PRs (30d)
1

Description

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?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the Snakemake retrieval rules and the listed remote resources first, then determine which non-git inputs need stable cached copies and whether licensing permits redistribution. Done means workflow inputs remain reproducible and local cached files can be used when the original remote resources are unavailable.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, data-engineering
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.