remove rule build_cutout_year
This commit is contained in:
parent
c2011bce49
commit
030e5b15ad
@ -165,8 +165,6 @@ rule build_bus_regions:
|
|||||||
|
|
||||||
if config["enable"].get("build_cutout", False):
|
if config["enable"].get("build_cutout", False):
|
||||||
|
|
||||||
ruleorder: build_cutout_year > build_cutout
|
|
||||||
|
|
||||||
rule build_cutout:
|
rule build_cutout:
|
||||||
params:
|
params:
|
||||||
snapshots=config_provider("snapshots"),
|
snapshots=config_provider("snapshots"),
|
||||||
@ -188,23 +186,6 @@ if config["enable"].get("build_cutout", False):
|
|||||||
script:
|
script:
|
||||||
"../scripts/build_cutout.py"
|
"../scripts/build_cutout.py"
|
||||||
|
|
||||||
rule build_cutout_year:
|
|
||||||
input:
|
|
||||||
rules.build_cutout.input,
|
|
||||||
output:
|
|
||||||
protected("cutouts/" + CDIR + "{cutout}-.nc"),
|
|
||||||
log:
|
|
||||||
logs(CDIR + "build_cutout/{cutout}-.log"),
|
|
||||||
benchmark:
|
|
||||||
benchmarks(CDIR + "build_cutout_{cutout}-")
|
|
||||||
threads: ATLITE_NPROCESSES
|
|
||||||
resources:
|
|
||||||
mem_mb=ATLITE_NPROCESSES * 1000,
|
|
||||||
conda:
|
|
||||||
"../envs/environment.yaml"
|
|
||||||
script:
|
|
||||||
"../scripts/build_cutout.py"
|
|
||||||
|
|
||||||
|
|
||||||
if config["enable"].get("build_natura_raster", False):
|
if config["enable"].get("build_natura_raster", False):
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user