Skip to content

Commit dd36d53

Browse files
committed
Fix path to ICON definitions
1 parent b841d19 commit dd36d53

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

workflow/Snakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ rule showcase_all:
5959
OUT_ROOT / "showcases/{run_id}/{init_time}/{init_time}_{param}_{sta}.png",
6060
init_time=[t.strftime("%Y%m%d%H%M") for t in REFTIMES],
6161
run_id=collect_all_candidates(),
62-
param=["2t"],
62+
param=["T_2M"],
6363
sta=["GVE", "KLO", "LUG"],
6464
),
6565

workflow/rules/plot.smk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ rule plot_meteogram:
2323
runtime="5m",
2424
shell:
2525
"""
26-
export ECCODES_DEFINITION_PATH=/user-environment/share/eccodes-cosmo-resources/definitions
26+
export ECCODES_DEFINITION_PATH=$(realpath .venv/share/eccodes-cosmo-resources/definitions)
2727
python {input.script} \
2828
--forecast {input.fct_grib} --analysis {input.analysis_zarr} \
2929
--date {wildcards.init_time} --outfn {output[0]} \

workflow/scripts/plot_meteogram.mo.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -286,10 +286,10 @@ def _(pd):
286286

287287
@app.cell
288288
def load_grib_data(data_source, grib_decoder, grib_dir, init_time, param):
289-
if param == "10sp":
290-
paramlist = ["10u", "10v"]
291-
elif param == "sp":
292-
paramlist = ["u", "v"]
289+
if param == "SP_10M":
290+
paramlist = ["U_10M", "V_10M"]
291+
elif param == "SP":
292+
paramlist = ["U", "V"]
293293
else:
294294
paramlist = [param]
295295

0 commit comments

Comments
 (0)