We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e2b039 commit 0325940Copy full SHA for 0325940
workflow/rules/plot.smk
@@ -48,6 +48,7 @@ def get_leadtimes(wc):
48
49
50
rule make_forecast_animation:
51
+ localrule: True
52
input:
53
expand(
54
OUT_ROOT
@@ -57,8 +58,9 @@ rule make_forecast_animation:
57
58
),
59
output:
60
OUT_ROOT / "showcases/{run_id}/{init_time}/{init_time}_{param}_{region}.gif",
- localrule: True
61
+ params:
62
+ delay=lambda wc: int(10*RUN_CONFIGS[wc.run_id]["steps"].split("/")[2]),
63
shell:
64
"""
- convert -delay 10 -loop 0 {input} {output}
65
+ convert -delay {params.delay} -loop 0 {input} {output}
66
0 commit comments