rules: add keep_local=True back in for storage providers
This commit is contained in:
parent
ea95f2b38c
commit
19a50fb8c5
@ -87,6 +87,7 @@ if config["sector"]["gas_network"] or config["sector"]["H2_retrofit"]:
|
|||||||
input:
|
input:
|
||||||
lng=storage(
|
lng=storage(
|
||||||
"https://globalenergymonitor.org/wp-content/uploads/2023/07/Europe-Gas-Tracker-2023-03-v3.xlsx",
|
"https://globalenergymonitor.org/wp-content/uploads/2023/07/Europe-Gas-Tracker-2023-03-v3.xlsx",
|
||||||
|
keep_local=True,
|
||||||
),
|
),
|
||||||
entry="data/gas_network/scigrid-gas/data/IGGIELGN_BorderPoints.geojson",
|
entry="data/gas_network/scigrid-gas/data/IGGIELGN_BorderPoints.geojson",
|
||||||
production="data/gas_network/scigrid-gas/data/IGGIELGN_Productions.geojson",
|
production="data/gas_network/scigrid-gas/data/IGGIELGN_Productions.geojson",
|
||||||
@ -269,6 +270,7 @@ rule build_biomass_potentials:
|
|||||||
input:
|
input:
|
||||||
enspreso_biomass=storage(
|
enspreso_biomass=storage(
|
||||||
"https://zenodo.org/records/10356004/files/ENSPRESO_BIOMASS.xlsx",
|
"https://zenodo.org/records/10356004/files/ENSPRESO_BIOMASS.xlsx",
|
||||||
|
keep_local=True,
|
||||||
),
|
),
|
||||||
nuts2="data/bundle-sector/nuts/NUTS_RG_10M_2013_4326_LEVL_2.geojson", # https://gisco-services.ec.europa.eu/distribution/v2/nuts/download/#nuts21
|
nuts2="data/bundle-sector/nuts/NUTS_RG_10M_2013_4326_LEVL_2.geojson", # https://gisco-services.ec.europa.eu/distribution/v2/nuts/download/#nuts21
|
||||||
regions_onshore=RESOURCES + "regions_onshore_elec_s{simpl}_{clusters}.geojson",
|
regions_onshore=RESOURCES + "regions_onshore_elec_s{simpl}_{clusters}.geojson",
|
||||||
@ -300,6 +302,7 @@ if config["sector"]["biomass_transport"] or config["sector"]["biomass_spatial"]:
|
|||||||
input:
|
input:
|
||||||
transport_cost_data=storage(
|
transport_cost_data=storage(
|
||||||
"https://publications.jrc.ec.europa.eu/repository/bitstream/JRC98626/biomass potentials in europe_web rev.pdf",
|
"https://publications.jrc.ec.europa.eu/repository/bitstream/JRC98626/biomass potentials in europe_web rev.pdf",
|
||||||
|
keep_local=True,
|
||||||
),
|
),
|
||||||
output:
|
output:
|
||||||
biomass_transport_costs=RESOURCES + "biomass_transport_costs.csv",
|
biomass_transport_costs=RESOURCES + "biomass_transport_costs.csv",
|
||||||
@ -333,6 +336,7 @@ if config["sector"]["regional_co2_sequestration_potential"]["enable"]:
|
|||||||
input:
|
input:
|
||||||
sequestration_potential=storage(
|
sequestration_potential=storage(
|
||||||
"https://raw.githubusercontent.com/ericzhou571/Co2Storage/main/resources/complete_map_2020_unit_Mt.geojson",
|
"https://raw.githubusercontent.com/ericzhou571/Co2Storage/main/resources/complete_map_2020_unit_Mt.geojson",
|
||||||
|
keep_local=True,
|
||||||
),
|
),
|
||||||
regions_onshore=RESOURCES
|
regions_onshore=RESOURCES
|
||||||
+ "regions_onshore_elec_s{simpl}_{clusters}.geojson",
|
+ "regions_onshore_elec_s{simpl}_{clusters}.geojson",
|
||||||
|
@ -87,6 +87,7 @@ if config["enable"]["retrieve"] and config["enable"].get("retrieve_cost_data", T
|
|||||||
config["costs"]["version"]
|
config["costs"]["version"]
|
||||||
)
|
)
|
||||||
+ "costs_{year}.csv",
|
+ "costs_{year}.csv",
|
||||||
|
keep_local=True,
|
||||||
),
|
),
|
||||||
output:
|
output:
|
||||||
"data/costs_{year}.csv",
|
"data/costs_{year}.csv",
|
||||||
@ -107,6 +108,7 @@ if config["enable"]["retrieve"] and config["enable"].get(
|
|||||||
input:
|
input:
|
||||||
storage(
|
storage(
|
||||||
"https://zenodo.org/record/4706686/files/natura.tiff",
|
"https://zenodo.org/record/4706686/files/natura.tiff",
|
||||||
|
keep_local=True,
|
||||||
),
|
),
|
||||||
output:
|
output:
|
||||||
RESOURCES + "natura.tiff",
|
RESOURCES + "natura.tiff",
|
||||||
@ -190,6 +192,7 @@ if config["enable"]["retrieve"]:
|
|||||||
if config["snapshots"]["end"] < "2019"
|
if config["snapshots"]["end"] < "2019"
|
||||||
else "2020-10-06"
|
else "2020-10-06"
|
||||||
),
|
),
|
||||||
|
keep_local=True,
|
||||||
),
|
),
|
||||||
output:
|
output:
|
||||||
RESOURCES + "load_raw.csv",
|
RESOURCES + "load_raw.csv",
|
||||||
@ -208,6 +211,7 @@ if config["enable"]["retrieve"]:
|
|||||||
input:
|
input:
|
||||||
storage(
|
storage(
|
||||||
"https://zenodo.org/record/6953563/files/shipdensity_global.zip",
|
"https://zenodo.org/record/6953563/files/shipdensity_global.zip",
|
||||||
|
keep_local=True,
|
||||||
),
|
),
|
||||||
output:
|
output:
|
||||||
protected("data/shipdensity_global.zip"),
|
protected("data/shipdensity_global.zip"),
|
||||||
@ -270,7 +274,7 @@ if config["enable"]["retrieve"]:
|
|||||||
# Website: https://www.protectedplanet.net/en/thematic-areas/wdpa
|
# Website: https://www.protectedplanet.net/en/thematic-areas/wdpa
|
||||||
rule download_wdpa:
|
rule download_wdpa:
|
||||||
input:
|
input:
|
||||||
storage(url),
|
storage(url, keep_local=True),
|
||||||
params:
|
params:
|
||||||
zip="data/WDPA_shp.zip",
|
zip="data/WDPA_shp.zip",
|
||||||
folder=directory("data/WDPA"),
|
folder=directory("data/WDPA"),
|
||||||
@ -294,6 +298,7 @@ if config["enable"]["retrieve"]:
|
|||||||
input:
|
input:
|
||||||
storage(
|
storage(
|
||||||
f"https://d1gam3xoknrgr2.cloudfront.net/current/WDPA_WDOECM_{bYYYY}_Public_marine_shp.zip",
|
f"https://d1gam3xoknrgr2.cloudfront.net/current/WDPA_WDOECM_{bYYYY}_Public_marine_shp.zip",
|
||||||
|
keep_local=True,
|
||||||
),
|
),
|
||||||
params:
|
params:
|
||||||
zip="data/WDPA_WDOECM_marine.zip",
|
zip="data/WDPA_WDOECM_marine.zip",
|
||||||
@ -317,6 +322,7 @@ if config["enable"]["retrieve"]:
|
|||||||
input:
|
input:
|
||||||
storage(
|
storage(
|
||||||
"https://www.eex.com/fileadmin/EEX/Downloads/EUA_Emission_Spot_Primary_Market_Auction_Report/Archive_Reports/emission-spot-primary-market-auction-report-2019-data.xls",
|
"https://www.eex.com/fileadmin/EEX/Downloads/EUA_Emission_Spot_Primary_Market_Auction_Report/Archive_Reports/emission-spot-primary-market-auction-report-2019-data.xls",
|
||||||
|
keep_local=True,
|
||||||
),
|
),
|
||||||
output:
|
output:
|
||||||
"data/validation/emission-spot-primary-market-auction-report-2019-data.xls",
|
"data/validation/emission-spot-primary-market-auction-report-2019-data.xls",
|
||||||
|
Loading…
Reference in New Issue
Block a user