Skip to content

Commit

Permalink
add logic to jinja template to archive appropriate atmens yaml file(s) (
Browse files Browse the repository at this point in the history
  • Loading branch information
RussTreadon-NOAA committed Aug 21, 2024
1 parent bb98a18 commit 74de6bc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions parm/archive/enkf.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,17 @@ enkf:
"oznstat.ensmean",
"radstat.ensmean"] %}
{% else %}
{% if lobsdiag_forenkf %}
{% set da_files = ["atmens_observer.yaml",
"atmens_solver.yaml",
"atminc.ensmean.nc",
"atmensstat"] %}
{% else %}
{% set da_files = ["atmens.yaml",
"atminc.ensmean.nc",
"atmensstat"] %}
{% endif %}
{% endif %}
{% for file in da_files %}
- "{{ COMIN_ATMOS_ANALYSIS_ENSSTAT | relpath(ROTDIR) }}/{{ head }}{{ file }}"
{% endfor %}
Expand Down

0 comments on commit 74de6bc

Please sign in to comment.