Skip to content

Commit 63825c0

Browse files
Make UFS analysis staging explicit
1 parent c5094bf commit 63825c0

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

parm/stage/analysis.yaml.j2

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,21 @@ analysis:
1414
{% if DO_JEDIATMVAR %}
1515

1616
{% for itile in range(6) %}
17-
{% for ftype in ["jedi_increment.atm.i006", "jedi_increment.atm.i009", "jedi_increment.atm.i003", "recentered_jedi_increment.atm.i006", "recentered_jedi_increment.atm.i009", "recentered_jedi_increment.atm.i003"] %}
18-
{% if path_exists(ICSDIR ~ "/" ~ COMOUT_ATMOS_ANALYSIS_MEM | relpath(ROTDIR) ~ "/" ~ RUN ~ ".t" ~ current_cycle_HH ~ "z.cubed_sphere_grid_" ~ ftype ~ ".tile" ~ (itile+1) ~ ".nc") %}
19-
- ["{{ ICSDIR }}/{{ COMOUT_ATMOS_ANALYSIS_MEM | relpath(ROTDIR) }}/{{ RUN }}.t{{ current_cycle_HH }}z.cubed_sphere_grid_{{ ftype }}.tile{{ itile+1 }}.nc", "{{ COMOUT_ATMOS_ANALYSIS_MEM }}"]
17+
{% if mem == -1 %}
18+
{% if DOIAU %}
19+
{% set ftypes = ["jedi_increment.atm.i003", "jedi_increment.atm.i006", "jedi_increment.atm.i009" ] %}
20+
{% else %}
21+
{% set ftypes = ["jedi_increment.atm.i006" ] %}
22+
{% endif %}
23+
{% else %}
24+
{% if DOIAU_ENKF %}
25+
{% set ftypes = ["recentered_jedi_increment.atm.i003", "recentered_jedi_increment.atm.i006", "recentered_jedi_increment.atm.i009" ] %}
26+
{% else %}
27+
{% set ftypes = ["recentered_jedi_increment.atm.i006" ] %}
28+
{% endif %}
2029
{% endif %}
30+
{% for ftype in ftypes %}
31+
- ["{{ ICSDIR }}/{{ COMOUT_ATMOS_ANALYSIS_MEM | relpath(ROTDIR) }}/{{ RUN }}.t{{ current_cycle_HH }}z.{{ ftype }}.tile{{ itile+1 }}.nc", "{{ COMOUT_ATMOS_ANALYSIS_MEM }}"]
2132
{% endfor %}
2233
{% endfor %}
2334
{% for ftype in ["abias.txt", "abias_air.txt", "abias_int.txt", "abias_pc.txt", "rad_varbc_params.tar"] %}

scripts/exglobal_stage_ic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def main():
2121
keys = ['RUN', 'MODE', 'EXP_WARM_START', 'NMEM_ENS',
2222
'assim_freq', 'current_cycle', 'previous_cycle',
2323
'ROTDIR', 'ICSDIR', 'STAGE_IC_YAML_TMPL', 'DO_JEDIATMVAR',
24-
'OCNRES', 'waveGRD', 'ntiles', 'DOIAU',
24+
'OCNRES', 'waveGRD', 'ntiles', 'DOIAU', 'DOIAU_ENKF',
2525
'DO_JEDIOCNVAR', 'DO_STARTMEM_FROM_JEDIICE',
2626
'DO_WAVE', 'DO_OCN', 'DO_ICE', 'DO_NEST', 'DO_CA', 'DO_AERO_ANL',
2727
'USE_ATM_ENS_PERTURB_FILES', 'USE_OCN_ENS_PERTURB_FILES', 'DO_GSISOILDA', 'DO_LAND_IAU']

0 commit comments

Comments
 (0)