Skip to content

Commit 0a465cf

Browse files
Michael Lindnerpre-commit-ci[bot]github-actions[bot]lkstrp
authored
Deprection and fixes for updating to Pypsa 1.0 (#136)
* minor deprecations * adjust to new dimension naming * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [github-actions.ci] Update locked envs (#133) * Update locked environment files for all platforms * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: lkstrp <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * pin to `pypsa>=1.0.0` * fix --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: lkstrp <[email protected]> Co-authored-by: Lukas Trippe <[email protected]>
1 parent 92787a4 commit 0a465cf

File tree

10 files changed

+648
-627
lines changed

10 files changed

+648
-627
lines changed

Snakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ if config["pypsa-de"]["retrieve_ariadne_database"]:
339339
script:
340340
"scripts/pypsa-de/retrieve_ariadne_database.py"
341341

342+
342343
def get_ariadne_database(w):
343344
if config["pypsa-de"]["retrieve_ariadne_database"]:
344345
return "data/ariadne_database.csv"

config/plotting.default.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
plotting:
77
map:
88
boundaries: [-11, 30, 34, 71]
9-
color_geomap:
9+
geomap_colors:
1010
ocean: white
1111
land: white
1212
projection:

envs/environment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies:
1717
- jpype1
1818

1919
# Inhouse packages
20-
- pypsa>=0.35.2
20+
- pypsa>=1.0.0
2121
- atlite>=0.3
2222
- linopy>=0.4.4
2323
- powerplantmatching>=0.5.15,<0.7 # restrict ppm until fix of https://github.com/PyPSA/powerplantmatching/issues/229

0 commit comments

Comments
 (0)