From e024ba68c934c46260326018414568442bac773f Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Sat, 17 Sep 2022 10:29:35 +0200 Subject: [PATCH] build_hydro: fix cutout input --- Snakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Snakefile b/Snakefile index 0e5205ed..4a6d7a7c 100644 --- a/Snakefile +++ b/Snakefile @@ -249,7 +249,7 @@ rule build_hydro_profile: input: country_shapes="resources/" + RDIR + "country_shapes.geojson", eia_hydro_generation='data/eia_hydro_annual_generation.csv', - cutout=f"cutouts/" + CDIR + "{config['renewable']['hydro']['cutout']}.nc" if "hydro" in config["renewable"] else "config['renewable']['hydro']['cutout'] not configured", + cutout=f"cutouts/" + CDIR + config['renewable']['hydro']['cutout'] + ".nc" if "hydro" in config["renewable"] else [], output: "resources/" + RDIR + "profile_hydro.nc" log: "logs/" + RDIR + "build_hydro_profile.log" resources: mem_mb=5000