Skip to content
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

Adding a CI for using Replay ICs with an offset hour of 3 #2788

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
30cf5df
initial creation of CI using replay ICs
NeilBarton-NOAA Jul 2, 2024
4b3ae39
change name
NeilBarton-NOAA Jul 2, 2024
fe2054e
making an S2SWA case
NeilBarton-NOAA Jul 2, 2024
7b7ee9b
Merge remote-tracking branch 'origin/develop' into gefs_replay_ci
NeilBarton-NOAA Jul 22, 2024
225d280
Merge remote-tracking branch 'origin/develop' into gefs_replay_ci
NeilBarton-NOAA Jul 23, 2024
b17765e
start of CI for GEFS replays # Please enter the commit message for your
NeilBarton-NOAA Jul 24, 2024
675cb77
Merge branch 'develop' into gefs_replay_ci
NeilBarton-NOAA Jul 24, 2024
e49dbcf
removing shell check errors
NeilBarton-NOAA Jul 24, 2024
ec4becc
Merge branch 'gefs_replay_ci' of https://github.com/NeilBarton-NOAA/g…
NeilBarton-NOAA Jul 24, 2024
b69d653
fixes for wave post processing
NeilBarton-NOAA Jul 24, 2024
084d744
Merge branch 'NOAA-EMC:develop' into gefs_replay_ci
NeilBarton-NOAA Aug 13, 2024
a4bb8f3
Merge remote-tracking branch 'origin/develop' into gefs_replay_ci
NeilBarton-NOAA Aug 13, 2024
4ff31fd
add BREAKPOINTS variable
NeilBarton-NOAA Aug 13, 2024
97b92ee
fix shell checks
NeilBarton-NOAA Aug 14, 2024
713f41d
edit defult config.efc to be close to re-forecasting
NeilBarton-NOAA Aug 14, 2024
af31d2f
Fix bug in variable check
EricSinsky-NOAA Aug 15, 2024
cec7b81
Add more settings to GEFS replay CI test
EricSinsky-NOAA Aug 15, 2024
4aaca9a
Add atmos variables requested for reforeacst
EricSinsky-NOAA Aug 15, 2024
11e1957
Reorganize TSNOWP in paramlist
EricSinsky-NOAA Aug 15, 2024
a005e5f
Extract ice variables from history file instead
EricSinsky-NOAA Aug 15, 2024
2dd9a7e
Fix typo
EricSinsky-NOAA Aug 15, 2024
b132408
Update TCDC variable to correct name
EricSinsky-NOAA Aug 15, 2024
3d9455b
Merge pull request #7 from EricSinsky-NOAA/gefs_replay_ci_pr
NeilBarton-NOAA Aug 20, 2024
447224c
Merge branch 'NOAA-EMC:develop' into gefs_replay_ci
NeilBarton-NOAA Aug 20, 2024
c6b7eaa
edits to stage_ic for replay perturbations
NeilBarton-NOAA Aug 21, 2024
51aa2dd
adding icsdir to pr CI yaml
NeilBarton-NOAA Aug 21, 2024
a641591
Merge branch 'NOAA-EMC:develop' into gefs_replay_ci
NeilBarton-NOAA Aug 26, 2024
4985361
Fix ensstat failures
EricSinsky-NOAA Aug 27, 2024
8eaef27
updates for products
NeilBarton-NOAA Aug 28, 2024
2e7241f
Add shellcheck disable and skip f000 for ocn/ice
EricSinsky-NOAA Aug 28, 2024
ddc544d
Revert "Fix ensstat failures"
EricSinsky-NOAA Aug 28, 2024
40515ca
Merge remote-tracking branch 'nb/gefs_replay_ci' into gefs_replay_ci_pr
EricSinsky-NOAA Aug 28, 2024
3d16fb7
Merge pull request #8 from EricSinsky-NOAA/gefs_replay_ci_pr
NeilBarton-NOAA Aug 28, 2024
5f37ce8
Merge remote-tracking branch 'nb/gefs_replay_ci' into gefs_replay_ci_pr
EricSinsky-NOAA Aug 28, 2024
9e84240
Move shellcheck disable
EricSinsky-NOAA Aug 28, 2024
fa25984
Remove shellcheck disable
EricSinsky-NOAA Aug 28, 2024
23564f1
Add double quotes in ocnice_extractvars
EricSinsky-NOAA Sep 3, 2024
2176326
Merge branch 'develop' into gefs_replay_ci
NeilBarton-NOAA Sep 10, 2024
e99b3f4
Merge branch 'NOAA-EMC:develop' into gefs_replay_ci
NeilBarton-NOAA Sep 12, 2024
154e72f
updates for new MOM6 100 input file
NeilBarton-NOAA Sep 12, 2024
57ce47b
Update workflow/rocoto/gefs_tasks.py
NeilBarton-NOAA Sep 12, 2024
b62e4ca
fix archiving until archiving PR is ready
NeilBarton-NOAA Sep 16, 2024
d393a13
Merge branch 'gefs_replay_ci' of https://github.com/NeilBarton-NOAA/g…
NeilBarton-NOAA Sep 16, 2024
8c875a9
Merge branch 'develop' into gefs_replay_ci
NeilBarton-NOAA Sep 16, 2024
a87fa6c
change back to ufs.top edits
NeilBarton-NOAA Sep 16, 2024
058ba52
Merge branch 'gefs_replay_ci' of https://github.com/NeilBarton-NOAA/g…
NeilBarton-NOAA Sep 16, 2024
3e74753
Update scripts/exgfs_wave_post_pnt.sh
NeilBarton-NOAA Sep 16, 2024
830d904
Update parm/archive/gefs_arcdir.yaml.j2
NeilBarton-NOAA Sep 17, 2024
c938275
add comments for coarse grained restarts
NeilBarton-NOAA Sep 17, 2024
f51fed8
Merge branch 'gefs_replay_ci' of https://github.com/NeilBarton-NOAA/g…
NeilBarton-NOAA Sep 17, 2024
c842090
Make archive job work with replay run
EricSinsky-NOAA Sep 19, 2024
0802ef1
Add Foundation SST to group-a products
EricSinsky-NOAA Sep 19, 2024
12e940c
Modify gefs_arcdir yaml
EricSinsky-NOAA Sep 19, 2024
66c7117
Fix gefs_arcdir yaml
EricSinsky-NOAA Sep 19, 2024
69fccdd
updates for stage_ic
NeilBarton-NOAA Sep 19, 2024
d93d094
Merge branch 'develop' into gefs_replay_ci
NeilBarton-NOAA Sep 19, 2024
5695faa
Merge branch 'develop' into gefs_replay_ci
NeilBarton-NOAA Sep 23, 2024
b0d0cd4
Merge remote-tracking branch 'EMC/develop' into gefs_replay_ci
EricSinsky-NOAA Sep 26, 2024
1c54982
point to CI ICs
NeilBarton-NOAA Sep 27, 2024
f918cc6
Merge branch 'gefs_replay_ci' of https://github.com/NeilBarton-NOAA/g…
NeilBarton-NOAA Sep 27, 2024
922eadf
fix C48_S2SWA_gefs CI error and added HPC_ACCOUNT
NeilBarton-NOAA Oct 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/cases/pr/C48_S2SWA_gefs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ arguments:
expdir: {{ 'RUNTESTS' | getenv }}/EXPDIR
idate: 2021032312
edate: 2021032312
yaml: {{ HOMEgfs }}/ci/cases/yamls/gefs_ci_defaults.yaml
yaml: {{ HOMEgfs }}/ci/cases/yamls/gefs_defaults_ci.yaml

skip_ci_on_hosts:
- wcoss2
19 changes: 19 additions & 0 deletions ci/cases/pr/C96_S2SWA_gefs_replay_ics.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
experiment:
system: gefs
mode: forecast-only

arguments:
pslot: {{ 'pslot' | getenv }}
app: S2SWA
resdetatmos: 96
resdetocean: 1.0
resensatmos: 96
nens: 2
gfs_cyc: 1
start: warm
comroot: {{ 'RUNTESTS' | getenv }}/COMROOT
expdir: {{ 'RUNTESTS' | getenv }}/EXPDIR
idate: 2020110100
edate: 2020110100
yaml: {{ HOMEgfs }}/ci/cases/yamls/gefs_replay_ci.yaml
icsdir: {{ 'ICSDIR_ROOT' | getenv }}/C96mx100/20240610
EricSinsky-NOAA marked this conversation as resolved.
Show resolved Hide resolved
14 changes: 14 additions & 0 deletions ci/cases/yamls/gefs_replay_ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
defaults:
!INC {{ HOMEgfs }}/parm/config/gefs/yaml/defaults.yaml
base:
ACCOUNT: {{ 'HPC_ACCOUNT' | getenv }}
REPLAY_ICS: "YES"
WalterKolczynski-NOAA marked this conversation as resolved.
Show resolved Hide resolved
FCST_BREAKPOINTS: ""
FHMAX_GFS: 48
FHMAX_HF_GFS: 24
DO_EXTRACTVARS: "YES"
FHOUT_HF_GFS: 3
FHOUT_OCN_GFS: 24
FHOUT_ICE_GFS: 24
HOMEDIR: {{ 'RUNTESTS' | getenv }}/GLOBAL

2 changes: 1 addition & 1 deletion jobs/JGLOBAL_WAVE_POST_PNT
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export WAV_MOD_TAG=${RUN}wave${waveMEMB}

export CFP_VERBOSE=1

export FHMAX_WAV_PNT=${FHMAX_WAV}
export FHMAX_WAV_PNT=$(( FHMAX_WAV - OFFSET_START_HOUR ))
export DOSPC_WAV='YES' # Spectral post
export DOBLL_WAV='YES' # Bulletin post
export DOBNDPNT_WAV='NO' #not boundary points
Expand Down
8 changes: 7 additions & 1 deletion parm/archive/gefs_arcdir.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,17 @@

{% set COMIN_ATMOS_ENSSTAT_1p00 = COM_ATMOS_GRIB_GRID_TMPL | replace_tmpl(tmpl_dict) %}

{% if REPLAY_ICS %}
{% set ofst_hr = FHOUT_GFS %}
{% else %}
{% set ofst_hr = FHMIN_GFS %}
{% endif %}

# Select ensstat files to copy to the arcdir
{% if RUN == "gefs" %}
EricSinsky-NOAA marked this conversation as resolved.
Show resolved Hide resolved
{% set ensstat_files = [] %}
{% if path_exists(COMIN_ATMOS_ENSSTAT_1p00) %}
{% for fhr in range(FHMIN_GFS, FHMAX_GFS + FHOUT_GFS, FHOUT_GFS) %}
{% for fhr in range(ofst_hr, FHMAX_GFS + FHOUT_GFS, FHOUT_GFS) %}
{% do ensstat_files.append([COMIN_ATMOS_ENSSTAT_1p00 ~ "/" ~ head ~ "mean.pres_." ~
"1p00" ~ ".f" ~ '%03d'|format(fhr) ~ ".grib2",
GEFS_ARCH]) %}
Expand Down
7 changes: 6 additions & 1 deletion parm/config/gefs/config.atmos_products
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ export INTERP_ATMOS_MASTERSH="${USHgfs}/interp_atmos_master.sh"
export INTERP_ATMOS_SFLUXSH="${USHgfs}/interp_atmos_sflux.sh"

export downset=2
export FHOUT_PGBS=${FHOUT_GFS:-3} # Output frequency of supplemental gfs pgb file at 1.0 and 0.5 deg

if [[ "${FHMAX_HF_GFS:-0}" == "0" ]]; then
export FHOUT_PGBS=${FHOUT_GFS:-3} # Output frequency of supplemental gfs pgb file at 1.0 and 0.5 deg
else
export FHOUT_PGBS=${FHOUT_HF_GFS:-1}
fi
export FLXGF="NO" # Create interpolated sflux.1p00 file

# paramlist files for the different forecast hours and downsets
Expand Down
32 changes: 15 additions & 17 deletions parm/config/gefs/config.base
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,15 @@ export FHOUT_ICE=3
# GFS cycle info
export gfs_cyc=@gfs_cyc@ # 0: no GFS cycle, 1: 00Z only, 2: 00Z and 12Z only, 4: all 4 cycles.

# set variables needed for use with REPLAY ICs
export REPLAY_ICS=@REPLAY_ICS@
if [[ "${REPLAY_ICS:-NO}" == "YES" ]]; then
export OFFSET_START_HOUR=$(( assim_freq / 2 ))
else
export OFFSET_START_HOUR=0
fi


# GFS output and frequency
export FHMIN_GFS=0
export FHMAX_GFS="@FHMAX_GFS@"
Expand All @@ -238,10 +247,10 @@ export FCST_SEGMENTS="${FHMIN_GFS},${breakpnts:+${breakpnts},}${FHMAX_GFS}"

export FHOUT_GFS=6
export FHMAX_HF_GFS=@FHMAX_HF_GFS@
export FHOUT_HF_GFS=1
export FHOUT_OCN_GFS=6
export FHOUT_ICE_GFS=6
export FHMIN_WAV=0
export FHOUT_HF_GFS=@FHOUT_HF_GFS@
export FHOUT_OCN_GFS=@FHOUT_OCN_GFS@
export FHOUT_ICE_GFS=@FHOUT_ICE_GFS@
export FHMIN_WAV=${OFFSET_START_HOUR:-0}
export FHOUT_WAV=3
export FHMAX_HF_WAV=120
export FHOUT_HF_WAV=1
Expand Down Expand Up @@ -290,20 +299,9 @@ export NMEM_ENS=@NMEM_ENS@
export ENSMEM=${ENSMEM:-"000"}
export MEMDIR="mem${ENSMEM}"

# initialize ocean ensemble members with perturbations
# if true, only occurs for members greater than zero
export REPLAY_ICS=@REPLAY_ICS@
if [[ "${REPLAY_ICS:-NO}" == "YES" ]]; then
export OFFSET_START_HOUR=$(( assim_freq / 2 ))
else
export OFFSET_START_HOUR=0
fi

export DOIAU="NO" # While we are not doing IAU, we may want to warm start w/ IAU in the future
# Check if cycle is cold starting
if [[ "${EXP_WARM_START}" = ".false." ]]; then
export IAU_FHROT=${OFFSET_START_HOUR}
else
# Check if cycle is warm starting with IAU
if [[ "${EXP_WARM_START}" = ".true." ]]; then
if [[ "${DOIAU}" = "YES" ]]; then
export IAU_FHROT=3
else
Expand Down
4 changes: 0 additions & 4 deletions parm/config/gefs/config.efcs
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ export SKEB_LSCALE="500.E3,1000.E3,2000.E3,2000.E3,2000.E3"
export SKEBNORM=1
export SKEB_NPASS=30
export SKEB_VDOF=5
export DO_SHUM="YES"
export SHUM=0.005
export SHUM_TAU=21600.
export SHUM_LSCALE=500000.
export DO_SPPT="YES"
export SPPT="0.56,0.28,0.14,0.056,0.028"
export SPPT_TAU="2.16E4,2.592E5,2.592E6,7.776E6,3.1536E7"
Expand Down
2 changes: 1 addition & 1 deletion parm/config/gefs/config.extractvars
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export compress_ice=1 #1: Compress extracted ice product, 0: Do not compress ext

export ocnres="1p00" # Resolution of ocean products
export iceres="native" # Resolution of ice products
export wavres="0p25" # Resolution of wave products
export wavres="${waveGRD:4:1}p${waveGRD:5:2}" # Resolution of wave products

export depthvar_name="z_l" # Name of depth variable in NetCDF ocean products
export zmin="0." # Minimum depth to extract from NetCDF ocean products
Expand Down
4 changes: 4 additions & 0 deletions parm/config/gefs/yaml/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ base:
DO_EXTRACTVARS: "NO"
FHMAX_GFS: 120
FHMAX_HF_GFS: 0
FHOUT_HF_GFS: 1
FCST_BREAKPOINTS: "48"
REPLAY_ICS: "NO"
USE_OCN_PERTURB_FILES: "false"
FHOUT_OCN_GFS: 6
FHOUT_ICE_GFS: 6
HPSSARCH: "NO"
LOCALARCH: "NO"
3 changes: 2 additions & 1 deletion parm/product/gefs.0p25.fFFF.paramlist.a.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@
:CSNOW:surface:
:CFRZR:surface:
:CICEP:surface:
:FDNSSTMP:surface:
:PWAT:entire atmosphere (considered as a single layer):
:CAPE:180-0 mb above ground:
:CAPE:surface:
:CIN:180-0 mb above ground:
:CIN:surface:
:HLCY:3000-0 m above ground:
:TCDC:entire atmosphere:
:TCDC:entire atmosphere (considered as a single layer):
:WEASD:surface:
:SNOD:surface:
:ULWRF:top of atmosphere:
Expand Down
1 change: 1 addition & 0 deletions parm/product/gefs.0p25.fFFF.paramlist.b.txt
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@
:TMP:surface:
:TMP:tropopause:
:TOZNE:entire atmosphere (considered as a single layer):
:TSNOWP:surface:
:TSOIL:0.1-0.4 m below ground:
:TSOIL:0.4-1 m below ground:
:TSOIL:1-2 m below ground:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
atmosphere_perturbation:
atmosphere_ens_perturbation:
mkdir:
{% for mem in range(first_mem, last_mem + 1) %}
{% for mem in range(first_mem + 1, last_mem + 1) %}
{% set imem = mem - first_mem %}
{% set COMOUT_ATMOS_ANALYSIS_MEM = COMOUT_ATMOS_ANALYSIS_MEM_list[imem] %}
- "{{ COMOUT_ATMOS_ANALYSIS_MEM }}"
{% endfor %} # mem loop
copy:
{% for mem in range(first_mem, last_mem + 1) %}
{% for mem in range(first_mem + 1, last_mem + 1) %}
{% set imem = mem - first_mem %}
{% set COMOUT_ATMOS_ANALYSIS_MEM = COMOUT_ATMOS_ANALYSIS_MEM_list[imem] %}
- ["{{ ICSDIR }}/{{ COMOUT_ATMOS_ANALYSIS_MEM | relpath(ROTDIR) }}/{{ m_prefix }}.fv3_perturbation.nc", "{{ COMOUT_ATMOS_ANALYSIS_MEM }}/{{ RUN }}.t{{ current_cycle_HH }}z.atminc.nc"]
Expand Down
4 changes: 2 additions & 2 deletions parm/stage/master_gefs.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@

{% if REPLAY_ICS %}
{% filter indent(width=4) %}
{% include "atmosphere_perturbation.yaml.j2" %}
{% include "atmosphere_ens_perturbations.yaml.j2" %}
{% endfilter %}
{% endif %}

Expand All @@ -137,7 +137,7 @@
{% endif %}
{% if REPLAY_ICS %}
{% filter indent(width=4) %}
{% include "ocean_replay.yaml.j2" %}
{% include "ocean_ens_perturbations.yaml.j2" %}
{% endfilter %}
{% endif %}
{% if EXP_WARM_START %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
ocean_replay:
ocean_ens_perturbation:
mkdir:
{% for mem in range(first_mem, last_mem + 1) %}
{% for mem in range(first_mem + 1, last_mem + 1) %}
{% set imem = mem - first_mem %}
{% set COMOUT_OCEAN_ANALYSIS_MEM = COMOUT_OCEAN_ANALYSIS_MEM_list[imem] %}
- "{{ COMOUT_OCEAN_ANALYSIS_MEM }}"
{% endfor %} # mem loop
copy:
{% for mem in range(first_mem, last_mem + 1) %}
{% for mem in range(first_mem + 1, last_mem + 1) %}
{% set imem = mem - first_mem %}
{% set COMOUT_OCEAN_ANALYSIS_MEM = COMOUT_OCEAN_ANALYSIS_MEM_list[imem] %}
- ["{{ ICSDIR }}/{{ COMOUT_OCEAN_ANALYSIS_MEM | relpath(ROTDIR) }}/{{ m_prefix }}.mom6_perturbation.nc", "{{ COMOUT_OCEAN_ANALYSIS_MEM }}/mom6_increment.nc"]
Expand Down
4 changes: 3 additions & 1 deletion scripts/exgfs_wave_post_pnt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,9 @@ source "${USHgfs}/preamble.sh"
ww3_outp_spec.inp.tmpl > ww3_outp.inp

${NLN} mod_def.$waveuoutpGRD mod_def.ww3
HMS="${cyc}0000"
#export OFFSET_START_HOUR=$( printf "%02d" ${half_assim} )
hh=$( printf "%02d" $(( cyc + OFFSET_START_HOUR )) )
HMS="${hh}0000"
if [[ -f "${COMIN_WAVE_HISTORY}/${WAV_MOD_TAG}.out_pnt.${waveuoutpGRD}.${PDY}.${HMS}" ]]; then
${NLN} "${COMIN_WAVE_HISTORY}/${WAV_MOD_TAG}.out_pnt.${waveuoutpGRD}.${PDY}.${HMS}" \
"./out_pnt.${waveuoutpGRD}"
Expand Down
3 changes: 2 additions & 1 deletion ush/extractvars_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ check_atmos() {
done
mapfile -t requestedvar_in_allgrb2file_arr < "${requestedvar_in_allgrb2file}"
while read -r vari; do
if [[ ! ${requestedvar_in_allgrb2file_arr[*]} =~ ${vari} ]] ;then
# shellcheck disable=SC2076
if [[ ! ${requestedvar_in_allgrb2file_arr[*]} =~ "${vari}" ]] ;then
github-advanced-security[bot] marked this conversation as resolved.
Fixed
Show resolved Hide resolved
echo "WARNING: PARM VARIABLE (${vari}) is not available in pgrb and pgrb2b for f${fnhl}."
fi
done <"${varlistl}"
Expand Down
14 changes: 11 additions & 3 deletions ush/ocnice_extractvars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,23 @@ comout_rfcst_prod_ocnice=${6}

[[ -d "${subdata}" ]] || mkdir -p "${subdata}"

for (( nh = FHMIN_GFS; nh <= FHMAX_GFS; nh = nh + fhout_ocnice )); do
for (( nh = FHMIN_GFS + fhout_ocnice; nh <= FHMAX_GFS; nh = nh + fhout_ocnice )); do
fnh=$(printf "%3.3d" "${nh}")

if [[ ${component_name} == "ocn" ]]; then
infile=${COMIN_OCEAN_NETCDF}/${datares}/${RUN}.ocean.t${cyc}z.${datares}.f${fnh}.nc
if [[ "${datares}" == "native" ]]; then
infile="${COMIN_OCEAN_HISTORY}/${RUN}.ocean.t${cyc}z.${fhout_ocnice}hr_avg.f${fnh}.nc"
else
infile="${COMIN_OCEAN_NETCDF}/${datares}/${RUN}.ocean.t${cyc}z.${datares}.f${fnh}.nc"
fi
# For ocean products, add an argument to extract a subset of levels
otherargs=(-d "${depthvar_name},""${zmin},""${zmax}")
elif [[ ${component_name} == "ice" ]]; then
infile=${COMIN_ICE_NETCDF}/${datares}/${RUN}.ice.t${cyc}z.${datares}.f${fnh}.nc
if [[ "${datares}" == "native" ]]; then
infile="${COMIN_ICE_HISTORY}/${RUN}.ice.t${cyc}z.${fhout_ocnice}hr_avg.f${fnh}.nc"
else
infile="${COMIN_ICE_NETCDF}/${datares}/${RUN}.ice.t${cyc}z.${datares}.f${fnh}.nc"
fi
otherargs=()
fi
outfile=${subdata}/${RUN}.${component_name}.t${cyc}z.${datares}.f${fnh}.nc
Expand Down
6 changes: 6 additions & 0 deletions ush/parsing_namelists_MOM6.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ cat input.nml
# ---------
# Prepare local variables for use in MOM_input.IN from UFSWM
# The ones already defined are left commented as a reminder
# == MOM options to start from coarsed grained restarts, set to off by default
# options only available for 05 and 1 degree grids
# as restarts are coarsed grained/interpolated from the 0.25 degrees grid
local MOM6_INIT_FROM_Z=${MOM6_INIT_FROM_Z:-True}
WalterKolczynski-NOAA marked this conversation as resolved.
Show resolved Hide resolved
local MOM6_WARMSTART_FILE=${MOM6_WARMSTART_FILE:-"none"}
local MOM6_INIT_UV=${MOM6_INIT_UV:-"zero"}
WalterKolczynski-NOAA marked this conversation as resolved.
Show resolved Hide resolved
# == MOM_domains section ==
# NX_GLB
# NY_GLB
Expand Down
1 change: 1 addition & 0 deletions workflow/rocoto/gefs_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ def atmos_ensstat(self):

def wavepostsbs(self):
deps = []

dep_dict = {'type': 'metatask', 'name': f'fcst_mem#member#'}
deps.append(rocoto.add_dependency(dep_dict))
dependencies = rocoto.create_dependency(dep=deps)
Expand Down
Loading