[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
5833556ea1
commit
92080b1cd2
18
Snakefile
18
Snakefile
@ -380,12 +380,18 @@ rule build_renewable_profiles:
|
|||||||
rule build_hydro_profile:
|
rule build_hydro_profile:
|
||||||
input:
|
input:
|
||||||
country_shapes="resources/" + RDIR + "country_shapes.geojson",
|
country_shapes="resources/" + RDIR + "country_shapes.geojson",
|
||||||
eia_hydro_generation='data/eia_hydro_annual_generation.csv',
|
eia_hydro_generation="data/eia_hydro_annual_generation.csv",
|
||||||
cutout=f"cutouts/" + CDIR + config['renewable']['hydro']['cutout'] + ".nc" if "hydro" in config["renewable"] else [],
|
cutout=f"cutouts/" + CDIR + config["renewable"]["hydro"]["cutout"] + ".nc"
|
||||||
output: "resources/" + RDIR + "profile_hydro.nc"
|
if "hydro" in config["renewable"]
|
||||||
log: "logs/" + RDIR + "build_hydro_profile.log"
|
else [],
|
||||||
resources: mem_mb=5000
|
output:
|
||||||
script: 'scripts/build_hydro_profile.py'
|
"resources/" + RDIR + "profile_hydro.nc",
|
||||||
|
log:
|
||||||
|
"logs/" + RDIR + "build_hydro_profile.log",
|
||||||
|
resources:
|
||||||
|
mem_mb=5000,
|
||||||
|
script:
|
||||||
|
"scripts/build_hydro_profile.py"
|
||||||
|
|
||||||
|
|
||||||
rule add_electricity:
|
rule add_electricity:
|
||||||
|
Loading…
Reference in New Issue
Block a user