Skip to content

Conversation

@AntonMFernando-NOAA
Copy link
Contributor

@AntonMFernando-NOAA AntonMFernando-NOAA commented May 21, 2025

Fixes the revert #3722
Continue #3622

Resolves #3583
Resolves #3621

@AntonMFernando-NOAA AntonMFernando-NOAA changed the title Revert "Revert "Creating Yaml for GEFSv13 Restarts and increments"" Fixing revert "Creating Yaml for GEFSv13 Restarts and increments"" May 21, 2025
@AntonMFernando-NOAA AntonMFernando-NOAA self-assigned this May 21, 2025
@AntonMFernando-NOAA
Copy link
Contributor Author

AntonMFernando-NOAA commented May 22, 2025

Ran the stage_ic job for 12 available tests. All passed. Tests can be found at with a tag "all": /lfs/h2/emc/global/noscrub/anton.fernando/RUNTESTS/EXPDIR

start: cold
comroot: {{ 'RUNTESTS' | getenv }}/COMROOT
expdir: {{ 'RUNTESTS' | getenv }}/EXPDIR
icsdir: /lfs/h2/emc/ens/noscrub/eric.sinsky/RETRO_ICS
Copy link
Contributor

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?

Copy link
Contributor

@EricSinsky-NOAA EricSinsky-NOAA May 22, 2025

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' %}
Copy link
Contributor

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?

Copy link
Contributor

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

@AntonMFernando-NOAA AntonMFernando-NOAA force-pushed the revert-3722-revert-3622-feature/stage_ic branch from 93fa38e to ffa0350 Compare May 22, 2025 17:59
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' %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be

Suggested change
{% 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' %}
Copy link
Contributor

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

Comment on lines 38 to 44
{% 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 %}
Copy link
Contributor

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.

Comment on lines 36 to 44
{% 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 %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{% 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

{% 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.' %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{% 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

- ["{{ file }}", "{{ increment_destination_path }}"]

{% if path_exists(ICSDIR) %}
{% for ftype in ["res.nc", "res_1.nc", "res_2.nc", "res_3.nc"] %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{% 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
Copy link
Contributor

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.

Suggested change
icsdir: /lfs/h2/emc/ens/noscrub/eric.sinsky/RETRO_ICS

EricSinsky-NOAA
EricSinsky-NOAA previously approved these changes Jun 5, 2025
Copy link
Contributor

@EricSinsky-NOAA EricSinsky-NOAA left a 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.

@AntonMFernando-NOAA
Copy link
Contributor Author

Just one minor technical suggestion, but not essential. Otherwise, approved pending successful completion of CI testing.

Thanks, Eric.

EricSinsky-NOAA
EricSinsky-NOAA previously approved these changes Jun 5, 2025
Copy link
Contributor

@DavidHuber-NOAA DavidHuber-NOAA left a 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.

Copy link
Contributor

@DavidHuber-NOAA DavidHuber-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@DavidHuber-NOAA DavidHuber-NOAA added the CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera label Jun 5, 2025
@emcbot emcbot added CI-Hera-Building **Bot use only** CI testing is cloning/building on Hera CI-Hera-Running **Bot use only** CI testing on Hera for this PR is in-progress CI-Hera-Passed **Bot use only** CI testing on Hera for this PR has completed successfully and removed CI-Hera-Ready **CM use only** PR is ready for CI testing on Hera CI-Hera-Building **Bot use only** CI testing is cloning/building on Hera CI-Hera-Running **Bot use only** CI testing on Hera for this PR is in-progress labels Jun 5, 2025
@DavidHuber-NOAA DavidHuber-NOAA merged commit 2001f36 into NOAA-EMC:develop Jun 6, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI-Hera-Passed **Bot use only** CI testing on Hera for this PR has completed successfully

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Creating Yaml for GEFSv13 Restarts and increments Creating Yaml for GEFSv13 Initial Conditions from GFS

6 participants