Update Snakefile

This commit is contained in:
euronion 2022-03-18 11:13:58 +01:00
parent c4423d43a8
commit 65e35135e1

View File

@ -201,10 +201,10 @@ rule build_renewable_profiles:
benchmark: "benchmarks/build_renewable_profiles_{technology}" benchmark: "benchmarks/build_renewable_profiles_{technology}"
threads: ATLITE_NPROCESSES threads: ATLITE_NPROCESSES
resources: mem_mb=ATLITE_NPROCESSES * 5000 resources: mem_mb=ATLITE_NPROCESSES * 5000
wildcard_constraints: technology="solar|onwind|offwind-ac|offwind-dc"
script: "scripts/build_renewable_profiles.py" script: "scripts/build_renewable_profiles.py"
if 'hydro' in config['renewable'].keys():
rule build_hydro_profile: rule build_hydro_profile:
input: input:
country_shapes='resources/country_shapes.geojson', country_shapes='resources/country_shapes.geojson',