Skip to content

Commit

Permalink
Add Params to build_temperature_profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddy-JV committed Jun 11, 2024
1 parent 22f56ba commit 1d832ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,8 @@ rule build_heat_demand:


rule build_temperature_profiles:
params:
snapshots= config["snapshots"],
input:
pop_layout_total="resources/population_shares/pop_layout_total.nc",
pop_layout_urban="resources/population_shares/pop_layout_urban.nc",
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_temperature_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
)
sets_path_to_root("pypsa-earth-sec")

time = pd.date_range(freq="h", **snakemake.config["snapshots"])
time = pd.date_range(freq="h", **snakemake.params.snapshots)
cutout_path = (
snakemake.input.cutout
) # os.path.abspath(snakemake.config["atlite"]["cutout"])
Expand Down

0 comments on commit 1d832ed

Please sign in to comment.