From 43d82371818731d9af7885b622d1f636b09c6a72 Mon Sep 17 00:00:00 2001 From: "travis.j.elless" Date: Fri, 14 Feb 2025 15:28:45 +0000 Subject: [PATCH] update jcb for missing snow files --- algorithm/snow/snow_obs_staging.yaml.j2 | 2 +- observations/snow/adpsfc_snow.yaml.j2 | 1 + observations/snow/ghcn_snow.yaml.j2 | 1 + observations/snow/sfcsno.yaml.j2 | 1 + observations/snow/snocvr_snow.yaml.j2 | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/algorithm/snow/snow_obs_staging.yaml.j2 b/algorithm/snow/snow_obs_staging.yaml.j2 index a8d3dc86..778cfd1e 100644 --- a/algorithm/snow/snow_obs_staging.yaml.j2 +++ b/algorithm/snow/snow_obs_staging.yaml.j2 @@ -1,6 +1,6 @@ mkdir: - '{{snow_obsdatain_path}}' -copy: +copy_opt: {% for observation_from_jcb in observations %} {% if use_observer(observation_from_jcb) %} {% if not observation_from_jcb == 'ims_snow' %} diff --git a/observations/snow/adpsfc_snow.yaml.j2 b/observations/snow/adpsfc_snow.yaml.j2 index f0fe2fd4..6298cc01 100644 --- a/observations/snow/adpsfc_snow.yaml.j2 +++ b/observations/snow/adpsfc_snow.yaml.j2 @@ -8,6 +8,7 @@ engine: type: H5File obsfile: "{{snow_obsdatain_path}}/{{snow_obsdatain_prefix}}{{observation_from_jcb}}{{snow_obsdatain_suffix}}" + missing file action: warn obsdataout: engine: type: H5File diff --git a/observations/snow/ghcn_snow.yaml.j2 b/observations/snow/ghcn_snow.yaml.j2 index ea7a9565..b825e793 100644 --- a/observations/snow/ghcn_snow.yaml.j2 +++ b/observations/snow/ghcn_snow.yaml.j2 @@ -8,6 +8,7 @@ engine: type: H5File obsfile: "{{snow_obsdatain_path}}/{{snow_obsdatain_prefix}}{{observation_from_jcb}}.nc" + missing file action: warn obsdataout: engine: type: H5File diff --git a/observations/snow/sfcsno.yaml.j2 b/observations/snow/sfcsno.yaml.j2 index ce44417e..31c8785b 100644 --- a/observations/snow/sfcsno.yaml.j2 +++ b/observations/snow/sfcsno.yaml.j2 @@ -9,6 +9,7 @@ type: bufr obsfile: "{{snow_obsdatain_path}}/{{snow_obsdatain_prefix}}sfcsno.tm00.bufr_d" mapping file: "{{snow_obsdatain_path}}/bufr_sfcsno_mapping.yaml" + missing file action: warn obsdataout: engine: type: H5File diff --git a/observations/snow/snocvr_snow.yaml.j2 b/observations/snow/snocvr_snow.yaml.j2 index fe73587b..c38da080 100644 --- a/observations/snow/snocvr_snow.yaml.j2 +++ b/observations/snow/snocvr_snow.yaml.j2 @@ -8,6 +8,7 @@ engine: type: H5File obsfile: "{{snow_obsdatain_path}}/{{snow_obsdatain_prefix}}{{observation_from_jcb}}.nc4" + missing file action: warn obsdataout: engine: type: H5File