Skip to content

Commit

Permalink
Update analysis yaml for enkfgdas ratminc.nc
Browse files Browse the repository at this point in the history
- Add ratminc.nc to the list of files in the analysis
staging yaml.
- Remove "gdas" condition for including analysis yaml.

Refs NOAA-EMC#2475
  • Loading branch information
KateFriedman-NOAA committed Aug 19, 2024
1 parent 13dfad2 commit ab35ffc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions parm/stage/analysis.yaml.j2
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
{% if path_exists(ICSDIR ~ "/" ~ COMOUT_ATMOS_ANALYSIS_MEM_list[0] | relpath(ROTDIR)) %}
analysis:
{% set COMOUT_ATMOS_ANALYSIS_MEM = COMOUT_ATMOS_ANALYSIS_MEM_list[0] %}
mkdir:
{% for mem in range(first_mem, last_mem + 1) %}
{% set imem = mem - first_mem %}
{% set COMOUT_ATMOS_ANALYSIS_MEM = COMOUT_ATMOS_ANALYSIS_MEM_list[imem] %}
- "{{ COMOUT_ATMOS_ANALYSIS_MEM }}"
{% endfor %}
copy:
{% for ftype in ["abias", "abias_air", "abias_int", "abias_pc", "atminc.nc", "radstat"] %}
{% for mem in range(first_mem, last_mem + 1) %}
{% set imem = mem - first_mem %}
{% set COMOUT_ATMOS_ANALYSIS_MEM = COMOUT_ATMOS_ANALYSIS_MEM_list[imem] %}
{% for ftype in ["abias", "abias_air", "abias_int", "abias_pc", "atminc.nc", "radstat", "ratminc.nc"] %}
{% if path_exists(ICSDIR ~ "/" ~ COMOUT_ATMOS_ANALYSIS_MEM | relpath(ROTDIR) ~ "/" ~ RUN ~ ".t" ~ current_cycle_HH ~ "z." ~ ftype) %}
- ["{{ ICSDIR }}/{{ COMOUT_ATMOS_ANALYSIS_MEM | relpath(ROTDIR) }}/{{ RUN }}.t{{ current_cycle_HH }}z.{{ ftype }}", "{{ COMOUT_ATMOS_ANALYSIS_MEM }}"]
{% endif %}
{% endfor %}
{% endfor %} # mem loop
{% endif %}
2 changes: 1 addition & 1 deletion parm/stage/master_gfs.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
# Initial condition to stage - include components based on switches
###################################################################

{% if MODE == "cycled" and RUN == "gdas" %}
{% if MODE == "cycled" %}
{% filter indent(width=4) %}
{% include "analysis.yaml.j2" %}
{% endfilter %}
Expand Down

0 comments on commit ab35ffc

Please sign in to comment.