Commit Graph

3217 Commits

Author SHA1 Message Date
Fabian
6034cc1669 build_sequestration: fix url with docformatter 2023-03-10 16:56:32 +01:00
Fabian Hofmann
ecb6dfbab2
Merge pull request #625 from PyPSA/linopy-eur
add Linopy to PyPSA-Eur
2023-03-10 16:49:15 +01:00
Fabian
ebc5a99338 follow up: fix img path 2023-03-10 16:12:02 +01:00
Fabian
e9bf639f2d solve_network: add line breaks in docstring 2023-03-10 16:10:01 +01:00
Fabian
5fe4032e47 solve_network: reinsert docstring 2023-03-10 16:07:21 +01:00
Fabian Hofmann
30b8bb3c94
Update scripts/solve_network.py
Co-authored-by: Fabian Neumann <fabian.neumann@outlook.de>
2023-03-10 16:00:52 +01:00
Fabian
99a9ea8beb adress review comments 2023-03-10 15:58:53 +01:00
Fabian
f8d178c714 prepare_sector: revert taking mean
config.overnight: revert hourly resolution
2023-03-10 14:26:31 +01:00
Fabian
4f0ddf2e95 fix Nyears scaling 2023-03-10 14:12:22 +01:00
Fabian
2baf8f5ba4 harmonive solve_network across workflow 2023-03-09 23:56:12 +01:00
pre-commit-ci[bot]
a9b09e4ae4 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-03-09 13:27:08 +00:00
Max Parzen
4cb21f05ec add Linopy to PyPSA 2023-03-09 13:24:25 +00:00
pre-commit-ci[bot]
3a80ac2027 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-03-09 12:29:15 +00:00
Fabian Neumann
3f74b6bec7 Merge branch 'merge-pypsa-eur-sec' of github.com:PyPSA/pypsa-eur into merge-pypsa-eur-sec 2023-03-09 13:28:50 +01:00
Fabian Neumann
91ea0a3f55 docs: rearrange sections 2023-03-09 13:28:42 +01:00
pre-commit-ci[bot]
ce6df71399 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-03-09 11:48:04 +00:00
Fabian
5356feab49 helpers: allow to overwrite config in mock_snakemake and allow mock_snakemake to be called from repo root 2023-03-09 12:46:40 +01:00
Fabian Neumann
abe4df543e add minimal description of all scripts 2023-03-09 12:45:43 +01:00
Fabian Neumann
9f1950411c ci: revert to 5 regions 2023-03-09 12:12:19 +01:00
Fabian Neumann
0d03cbc84f Merge branch 'sec-subset-countries' into merge-pypsa-eur-sec 2023-03-09 12:02:29 +01:00
Fabian Neumann
47a65f07f3 ci: add --rerun-triggers=mtime to improve caching 2023-03-09 12:01:19 +01:00
Fabian Neumann
db83d5608f
Merge pull request #623 from PyPSA/sec-subset-countries
Run also sector-coupled build part for subset of countries
2023-03-09 11:53:29 +01:00
Fabian Neumann
bfbc9e322a Merge branch 'sec-subset-countries' of github.com:PyPSA/pypsa-eur into sec-subset-countries 2023-03-09 11:52:14 +01:00
Fabian Neumann
15a152d02d keep CI running if one OS fails 2023-03-09 11:52:06 +01:00
pre-commit-ci[bot]
3402908834 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-03-09 10:39:59 +00:00
Fabian Neumann
f5edafd00d speed-up CI, just a week rather than a month, 4 nodes, 40H 2023-03-09 11:37:34 +01:00
Fabian Neumann
8f5775d9cc Merge branch 'merge-pypsa-eur-sec' into sec-subset-countries 2023-03-09 11:28:07 +01:00
Fabian Neumann
89a3570c18 sort countries 2023-03-09 11:24:10 +01:00
Fabian Neumann
22846d7b1b sector-coupled: run on subset of selected countries 2023-03-09 11:04:41 +01:00
Fabian
5e4c6fc544 ci: reset data cache number 2023-03-09 09:57:57 +01:00
Fabian
821f9a18dd ci: update actions/checkout 2023-03-09 09:57:57 +01:00
pre-commit-ci[bot]
f128cc3e3c [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-03-09 07:36:43 +00:00
Fabian Neumann
483f3e1b82 eliminate manual country code conversion, adjust mock_snakemake to ll wildcard 2023-03-09 08:36:18 +01:00
Fabian Neumann
fe43246522 upload resources and results as artifacts 2023-03-08 20:06:18 +01:00
Fabian Neumann
d32de1629a Merge branch 'merge-pypsa-eur-sec' of github.com:PyPSA/pypsa-eur into merge-pypsa-eur-sec 2023-03-08 19:28:13 +01:00
Fabian Neumann
a1ba3a2c17 new minimum snakemake version is 7.7 2023-03-08 19:28:00 +01:00
pre-commit-ci[bot]
f717ce9d3d [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-03-08 18:26:43 +00:00
Fabian Neumann
7405377fd7 snakefmt to Snakefile 2023-03-08 19:22:29 +01:00
Fabian Neumann
bf895de7cc add logfiles to all rules 2023-03-08 19:22:00 +01:00
Fabian Neumann
67f54b98ed add graphviz to environment 2023-03-08 18:47:45 +01:00
Fabian Neumann
d4d517ffab Snakefile: correct indent 2023-03-08 18:45:32 +01:00
Fabian Neumann
6763dbaacc add message for dag rule 2023-03-08 18:45:11 +01:00
Fabian Neumann
76dcf43993 add rule for dag, use shutil to purge outputs 2023-03-08 18:43:52 +01:00
Fabian Neumann
882b79a9ed add a purge rule 2023-03-08 18:15:49 +01:00
Fabian Neumann
abbf91ff9e retrieval rules get retries directive for added robustness 2023-03-08 18:09:31 +01:00
Fabian Neumann
701d3a141a data/bundle files may be ancient 2023-03-08 18:03:49 +01:00
Fabian Neumann
37a063554d make cutouts protected
https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html\#protected-and-temporary-files
2023-03-08 17:56:50 +01:00
Fabian Neumann
4b3372b53b apply snakefmt to rules/ 2023-03-08 17:46:14 +01:00
Fabian Neumann
2d648dac40 correct paths to scripts in .smk files 2023-03-08 17:45:25 +01:00
Fabian Neumann
8eb37bc263 add conda directive to all rules for use with --use-conda 2023-03-08 17:44:25 +01:00