-
Notifications
You must be signed in to change notification settings - Fork 204
Fixing revert "Creating Yaml for GEFSv13 Restarts and increments"" #3723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing revert "Creating Yaml for GEFSv13 Restarts and increments"" #3723
Conversation
…OAA-EMC#3722)" This reverts commit fa84891.
|
Ran the stage_ic job for 12 available tests. All passed. Tests can be found at with a tag "all": |
| start: cold | ||
| comroot: {{ 'RUNTESTS' | getenv }}/COMROOT | ||
| expdir: {{ 'RUNTESTS' | getenv }}/EXPDIR | ||
| icsdir: /lfs/h2/emc/ens/noscrub/eric.sinsky/RETRO_ICS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be a personal folder. Are these ICs that the GEFS team would like staged under the global group account on all supported platforms?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KateFriedman-NOAA A decision is still being made on exactly what ICs are needed for the control member. An issue will be opened once we know exactly what needs to be staged. For now, I think icsdir can be removed from this yaml as this case is not running in the CI on any platform.
| - "{{ COMOUT_ATMOS_RESTART_PREV_MEM }}" | ||
| - "{{ COMOUT_ATMOS_ANALYSIS_MEM }}" | ||
| copy: | ||
| {% set DIAU_previous_file = ICSDIR ~ '/' ~ 'gdas.' ~ previous_cycle_YMD ~ '/' ~ previous_cycle_HH ~ '/analysis/atmos/gdas.t' ~ previous_cycle_HH ~ 'z.atma003.ensres.nc' %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does DIAU mean there? DO_IAU?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DIAU_ is just a poor choice for a prefix. This confusion will get cleared out when a decision is made on the initialization of the control member
…thub.com/AntonMFernando-NOAA/global-workflow into revert-3722-revert-3622-feature/stage_ic
93fa38e to
ffa0350
Compare
| copy: | ||
| {% set DIAU_previous_file = ICSDIR ~ '/' ~ 'gdas.' ~ previous_cycle_YMD ~ '/' ~ previous_cycle_HH ~ '/analysis/atmos/gdas.t' ~ previous_cycle_HH ~ 'z.atma003.ensres.nc' %} | ||
| {% set DIAU_current_file = ICSDIR ~ '/' ~ 'gfs.' ~ current_cycle_YMD ~ '/' ~ current_cycle_HH ~ '/analysis/atmos/gfs.t' ~ current_cycle_HH ~ 'z.atminc.nc' %} | ||
| {% set DIAUNO_current_file= ICSDIR ~ '/' ~ 'gfs.' ~ current_cycle_YMD ~ '/' ~ current_cycle_HH ~ '/analysis/atmos/gfs.t' ~ current_cycle_HH ~ 'z.atminc.nc' %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be
| {% set DIAUNO_current_file= ICSDIR ~ '/' ~ 'gfs.' ~ current_cycle_YMD ~ '/' ~ current_cycle_HH ~ '/analysis/atmos/gfs.t' ~ current_cycle_HH ~ 'z.atminc.nc' %} | |
| {% set DIAUNO_current_file= ICSDIR ~ '/' ~ 'gfs.' ~ current_cycle_YMD ~ '/' ~ current_cycle_HH ~ '/analysis/atmos/gfs.t' ~ current_cycle_HH ~ 'z.atmanl.nc' %} |
| - "{{ COMOUT_ATMOS_RESTART_PREV_MEM }}" | ||
| - "{{ COMOUT_ATMOS_ANALYSIS_MEM }}" | ||
| copy: | ||
| {% set DIAU_previous_file = ICSDIR ~ '/' ~ 'gdas.' ~ previous_cycle_YMD ~ '/' ~ previous_cycle_HH ~ '/analysis/atmos/gdas.t' ~ previous_cycle_HH ~ 'z.atma003.ensres.nc' %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DIAU_ is just a poor choice for a prefix. This confusion will get cleared out when a decision is made on the initialization of the control member
parm/stage/master_gefs_RT.yaml.j2
Outdated
| {% else %} | ||
| {% if REPLAY_ICS %} | ||
| {% set model_start_date_current_cycle = current_cycle | add_to_datetime(half_window_end) %} | ||
| {% else %} | ||
| {% set model_start_date_current_cycle = current_cycle %} | ||
| {% endif %} | ||
| {% endif %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This block is redundant in a RT situation.
There should not be an if-else condition in real time.
parm/stage/master_gefs_RT.yaml.j2
Outdated
| {% if DOIAU and MODE == "cycled" %} | ||
| {% set model_start_date_current_cycle = current_cycle | add_to_datetime(half_window_begin) %} | ||
| {% else %} | ||
| {% if REPLAY_ICS %} | ||
| {% set model_start_date_current_cycle = current_cycle | add_to_datetime(half_window_end) %} | ||
| {% else %} | ||
| {% set model_start_date_current_cycle = current_cycle %} | ||
| {% endif %} | ||
| {% endif %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| {% if DOIAU and MODE == "cycled" %} | |
| {% set model_start_date_current_cycle = current_cycle | add_to_datetime(half_window_begin) %} | |
| {% else %} | |
| {% if REPLAY_ICS %} | |
| {% set model_start_date_current_cycle = current_cycle | add_to_datetime(half_window_end) %} | |
| {% else %} | |
| {% set model_start_date_current_cycle = current_cycle %} | |
| {% endif %} | |
| {% endif %} | |
| {% set model_start_date_current_cycle = current_cycle | add_to_datetime(half_window_begin) %} |
Based on the above comment, in RT, GFS will be running w/ IAU and in cycled mode. There is no replay possible for running in RT
parm/stage/ocean_RT.yaml.j2
Outdated
| {% set mem = ENSMEM + offset %} | ||
| {% set imem = ENSMEM %} | ||
| {% set mid_cyc = ("%02d" | format(previous_cycle_HH | int + half_window)) ~ "0000" %} | ||
| {% set restart_mem_path = ICSDIR ~ '/' ~ 'enkfgdas.' ~ previous_cycle_YMD ~ '/' ~ previous_cycle_HH ~ '/' ~ 'mem%03d' | format(mem) ~ '/model/ocean/restart/' ~ previous_cycle_YMD ~ '.' ~ mid_cyc ~ '.MOM.' %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| {% set restart_mem_path = ICSDIR ~ '/' ~ 'enkfgdas.' ~ previous_cycle_YMD ~ '/' ~ previous_cycle_HH ~ '/' ~ 'mem%03d' | format(mem) ~ '/model/ocean/restart/' ~ previous_cycle_YMD ~ '.' ~ mid_cyc ~ '.MOM.' %} | |
| {% set restart_mem_path = ICSDIR ~ '/' ~ 'enkfgdas.' ~ previous_cycle_YMD ~ '/' ~ previous_cycle_HH ~ '/' ~ 'mem%03d' | format(mem) ~ '/model/ocean/restart/' ~ previous_cycle_YMD ~ '.' ~ mid_cyc ~ '.' %} |
Put MOM. in the loop like in the case of control for symmetry
parm/stage/ocean_RT.yaml.j2
Outdated
| - ["{{ file }}", "{{ increment_destination_path }}"] | ||
|
|
||
| {% if path_exists(ICSDIR) %} | ||
| {% for ftype in ["res.nc", "res_1.nc", "res_2.nc", "res_3.nc"] %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| {% for ftype in ["res.nc", "res_1.nc", "res_2.nc", "res_3.nc"] %} | |
| {% for ftype in ["MOM.res.nc", "MOM.res_1.nc", "MOM.res_2.nc", "MOM.res_3.nc"] %} |
Appending MOM. from above here, to look like the control set.
| start: cold | ||
| comroot: {{ 'RUNTESTS' | getenv }}/COMROOT | ||
| expdir: {{ 'RUNTESTS' | getenv }}/EXPDIR | ||
| icsdir: /lfs/h2/emc/ens/noscrub/eric.sinsky/RETRO_ICS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line can be removed.
| icsdir: /lfs/h2/emc/ens/noscrub/eric.sinsky/RETRO_ICS |
EricSinsky-NOAA
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one minor technical suggestion, but not essential. Otherwise, approved pending successful completion of CI testing.
Thanks, Eric. |
DavidHuber-NOAA
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just one minor nitpick and then I think it's good to go for testing.
DavidHuber-NOAA
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Fixes the revert #3722
Continue #3622
Resolves #3583
Resolves #3621