From a7fee4274b3bca5165bfb2266f2a3cbb4b228d9b Mon Sep 17 00:00:00 2001 From: AntonMFernando Date: Tue, 17 Sep 2024 19:12:28 -0400 Subject: [PATCH] modified gefs_ice.yaml.j2 --- parm/archive/gefs_ice.yaml.j2 | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/parm/archive/gefs_ice.yaml.j2 b/parm/archive/gefs_ice.yaml.j2 index 97a5c4fe51..786d502f23 100644 --- a/parm/archive/gefs_ice.yaml.j2 +++ b/parm/archive/gefs_ice.yaml.j2 @@ -22,14 +22,12 @@ gefs_ice: {% set COMIN_ICE_HISTORY = COM_ICE_HISTORY_TMPL | replace_tmpl(tmpl_dict) %} - # Select netcdf files to copy to the atardir - {% if RUN == "gefs" %} - {% if path_exists(COMIN_ICE_HISTORY) %} - {% for fhr in range(FHMIN_GFS + FHOUT_ICE_GFS, FHMAX_GFS + FHOUT_ICE_GFS, FHOUT_ICE_GFS) %} - {% set file_name = head ~ FHOUT_ICE_GFS ~ "hr_avg" ~ ".f" ~ '%03d'|format(fhr) ~ ".nc" %} - {% set file_path = COMIN_ICE_HISTORY ~ "/" ~ file_name %} - - "{{ file_path | relpath(ROTDIR)}}" - {% endfor %} - {% endif %} +# Select netcdf files to copy to the atardir + {% if path_exists(COMIN_ICE_HISTORY) %} + {% for fhr in range(FHMIN_GFS + FHOUT_ICE_GFS, FHMAX_GFS + FHOUT_ICE_GFS, FHOUT_ICE_GFS) %} + {% set file_name = head ~ FHOUT_ICE_GFS ~ "hr_avg" ~ ".f" ~ '%03d'|format(fhr) ~ ".nc" %} + {% set file_path = COMIN_ICE_HISTORY ~ "/" ~ file_name %} + - "{{ file_path | relpath(ROTDIR)}}" + {% endfor %} {% endif %} {% endfor %}