-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get costs_year.csv instead of costs.csv #1120
base: main
Are you sure you want to change the base?
get costs_year.csv instead of costs.csv #1120
Conversation
Great @danielelerede-oet :D Lines 393 to 420 in 3142b1f
we probably don't need anymore two versions of the same rule where only the output file path is changed. That should clean the code too. |
Ciao @davide-f . Considering that in the config file the argument to be passed to |
Hi @davide-f, I perfomed some tests and actually keeping |
As we are addressing the retrieve_cost_data, it would be nice to add the "params:" snakemake option into the rule as: params:
version: config["costs"]["version"] And update the default tech_data version to the latest: 0.9.2 pypsa-earth/config.default.yaml Line 358 in 8d93ddb
with version: 0.9.2 This ensures that if the tech_data version is changed, the rule is retriggered Linked to #1073 Otherwise we can address this in a new version. |
Note: current CI passes, but the workflow would not capture scenarios like costs_2040 or costs_2050 unfortunately #1249 should fix that |
Changes proposed in this Pull Request
As the column year has been dropped from resources/costs.csv this PR proposes a similar approach to pypsa-eur to retrieve a costs.csv file also reporting the reference year for the relative techno-economic assumptions (as from the costs section in the config file).
Checklist
envs/environment.yaml
anddoc/requirements.txt
.config.default.yaml
andconfig.tutorial.yaml
.test/
(note tests are changing the config.tutorial.yaml)doc/configtables/*.csv
and line references are adjusted indoc/configuration.rst
anddoc/tutorial.rst
.doc/release_notes.rst
is amended in the format of previous release notes, including reference to the requested PR.