wdpa time-invariant filenames in build_electricity.smk

This commit is contained in:
Fabian Neumann 2023-12-29 11:21:24 +01:00
parent c5f48f957d
commit accffe7bc2

View File

@ -210,8 +210,8 @@ rule determine_availability_matrix_MD_UA:
input: input:
copernicus=RESOURCES copernicus=RESOURCES
+ "Copernicus_LC100_global_v3.0.1_2019-nrt_Discrete-Classification-map_EPSG-4326.tif", + "Copernicus_LC100_global_v3.0.1_2019-nrt_Discrete-Classification-map_EPSG-4326.tif",
wdpa=RESOURCES + f"WDPA_{bYYYY}.gpkg", wdpa=RESOURCES + f"WDPA.gpkg",
wdpa_marine=RESOURCES + f"WDPA_WDOECM_{bYYYY}_marine.gpkg", wdpa_marine=RESOURCES + f"WDPA_WDOECM_marine.gpkg",
gebco=lambda w: ( gebco=lambda w: (
"data/bundle/GEBCO_2014_2D.nc" "data/bundle/GEBCO_2014_2D.nc"
if "max_depth" in config["renewable"][w.technology].keys() if "max_depth" in config["renewable"][w.technology].keys()