Merge branch 'master' into update-entsoe-gridextract

This commit is contained in:
Martha Frysztacki 2022-02-25 14:52:30 +01:00 committed by GitHub
commit 4becc4012f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
# SPDX-License-Identifier: MIT
from os.path import normpath, exists
from shutil import copyfile
from shutil import copyfile, move
from snakemake.remote.HTTP import RemoteProvider as HTTPRemoteProvider
HTTP = HTTPRemoteProvider()
@ -70,7 +70,7 @@ if config['enable'].get('retrieve_databundle', True):
rule retrieve_load_data:
input: HTTP.remote("data.open-power-system-data.org/time_series/2019-06-05/time_series_60min_singleindex.csv", keep_local=True, static=True)
output: "data/load_raw.csv"
shell: "mv {input} {output}"
run: move(input[0], output[0])
rule build_load_data:
@ -162,7 +162,7 @@ if config['enable'].get('retrieve_cutout', True):
rule retrieve_cutout:
input: HTTP.remote("zenodo.org/record/4709858/files/{cutout}.nc", keep_local=True, static=True)
output: "cutouts/{cutout}.nc"
shell: "mv {input} {output}"
run: move(input[0], output[0])
if config['enable'].get('build_natura_raster', False):
@ -179,7 +179,7 @@ if config['enable'].get('retrieve_natura_raster', True):
rule retrieve_natura_raster:
input: HTTP.remote("zenodo.org/record/4706686/files/natura.tiff", keep_local=True, static=True)
output: "resources/natura.tiff"
shell: "mv {input} {output}"
run: move(input[0], output[0])
rule build_renewable_profiles:

View File

@ -26,7 +26,7 @@ dependencies:
- lxml
- powerplantmatching>=0.4.8
- numpy
- pandas<1.3
- pandas
- geopandas
- xarray
- netcdf4