make cutouts protected
https://snakemake.readthedocs.io/en/stable/snakefiles/rules.html\#protected-and-temporary-files
This commit is contained in:
parent
4b3372b53b
commit
37a063554d
@ -123,7 +123,7 @@ if config["enable"].get("build_cutout", False):
|
||||
regions_onshore=RESOURCES + "regions_onshore.geojson",
|
||||
regions_offshore=RESOURCES + "regions_offshore.geojson",
|
||||
output:
|
||||
"cutouts/" + CDIR + "{cutout}.nc",
|
||||
protected("cutouts/" + CDIR + "{cutout}.nc"),
|
||||
log:
|
||||
"logs/" + CDIR + "build_cutout/{cutout}.log",
|
||||
benchmark:
|
||||
|
@ -35,11 +35,10 @@ if config["enable"].get("retrieve_cutout", True):
|
||||
input:
|
||||
HTTP.remote(
|
||||
"zenodo.org/record/6382570/files/{cutout}.nc",
|
||||
keep_local=True,
|
||||
static=True,
|
||||
),
|
||||
output:
|
||||
"cutouts/" + CDIR + "{cutout}.nc",
|
||||
protected("cutouts/" + CDIR + "{cutout}.nc"),
|
||||
log:
|
||||
"logs/" + CDIR + "retrieve_cutout_{cutout}.log",
|
||||
resources:
|
||||
|
Loading…
Reference in New Issue
Block a user