Skip to content

Commit

Permalink
Update for missing snow files (#76)
Browse files Browse the repository at this point in the history
This PR adds missing file actions to the snow observation yamls and also
makes an additional change to the obs staging yaml copy statement. These
modifications are one step to ensuring the snow DA does not cause an
operational failure if snow observation files are missing.

References [GDASApp Issue 1462
](NOAA-EMC/GDASApp#1462)
  • Loading branch information
TravisElless-NOAA authored Feb 26, 2025
1 parent bfcff02 commit 7a418aa
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion algorithm/snow/snow_obs_staging.yaml.j2
Original file line number Diff line number Diff line change
@@ -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' %}
Expand Down
1 change: 1 addition & 0 deletions observations/snow/adpsfc_snow.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions observations/snow/ghcn_snow.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions observations/snow/sfcsno.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions observations/snow/snocvr_snow.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a418aa

Please sign in to comment.