When REPLAY_ICSis set to YES, the ocean_prod tasks are not triggered.
What should have happened?
The ocean_prod tasks should run even when REPLAY_ICS is set to YES.
What machines are impacted?
All or N/A
Steps to reproduce
Set REPLAY_ICS to YES in config.base.
Make sure ocean is one of the components set to run in your experiment.
Run global workflow using REPLAY ICs.
Additional information
This issue is caused by OFFSET_START_HOUR not being 0. This offset causes filename mismatches between the actual raw data being produced by MOM6 and the links produced by the global workflow. This mismatch results in ocean hist files not being saved in COMROOT, resulting in the ocean_prod task dependencies not being satisfied.
Do you have a proposed solution?
A fix has been added in PR #2680. In this fix, a separate diag_table file has been created that is only used when OFFSET_START_HOUR is not 0. This diag_table allows the correct filenames to be produced by MOM6 (see image below). In this fix, when OFFSET_START_HOUR is 3 and FHOUT_OCN is 6, the first lead time is averaged from f003 to f009, the second lead time is averaged from f006 to f012, the third lead time is averaged from f012 to f018, and so on.
What is wrong?
When
REPLAY_ICS
is set toYES
, the ocean_prod tasks are not triggered.What should have happened?
The ocean_prod tasks should run even when
REPLAY_ICS
is set toYES
.What machines are impacted?
All or N/A
Steps to reproduce
REPLAY_ICS
toYES
inconfig.base
.ocean
is one of the components set to run in your experiment.Additional information
This issue is caused by![MOM6_output_bug](https://github.com/NOAA-EMC/global-workflow/assets/48259628/8c63223f-7c65-46cb-81d3-0fe043e07306)
OFFSET_START_HOUR
not being0
. This offset causes filename mismatches between the actual raw data being produced by MOM6 and the links produced by the global workflow. This mismatch results in ocean hist files not being saved inCOMROOT
, resulting in the ocean_prod task dependencies not being satisfied.Do you have a proposed solution?
A fix has been added in PR #2680. In this fix, a separate diag_table file has been created that is only used when![image](https://github.com/NOAA-EMC/global-workflow/assets/48259628/5c5780f4-b603-4e47-9d89-5d826555618f)
OFFSET_START_HOUR
is not0
. This diag_table allows the correct filenames to be produced by MOM6 (see image below). In this fix, whenOFFSET_START_HOUR
is3
andFHOUT_OCN
is6
, the first lead time is averaged from f003 to f009, the second lead time is averaged from f006 to f012, the third lead time is averaged from f012 to f018, and so on.