Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
26 changes: 19 additions & 7 deletions tests/default_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,6 @@ export OUTPUT_FH="12 -1"
export NFHOUT=12
export NFHMAX_HF=12
export NFHOUT_HF=6
export IAU_OFFSET=0
export FHZERO=6
export FNALBC="'global_snowfree_albedo.bosu.t126.384.190.rg.grb'"
export FNVETC="'global_vegtype.igbp.t126.384.190.rg.grb'"
Expand Down Expand Up @@ -587,6 +586,9 @@ export LNDP_MODEL_TYPE=0

#IAU
export IAU_INC_FILES="''"
export IAU_DELTHRS=0
export IAUFHRS=-1
export IAU_OFFSET=0

export FH_DFI_RADAR='-2e10'

Expand All @@ -595,8 +597,6 @@ export DO_CA=.false.
export CA_SGS=.false.
export CA_GLOBAL=.false.

export IAU_DRYMASSFIXER=.false.

#waves
export WW3RSTDTHR=12
export DT_2_RST="$(printf "%02d" $(( ${WW3RSTDTHR}*3600 )))"
Expand Down Expand Up @@ -874,8 +874,14 @@ export MOM6_THERMO_SPAN=False
export MOM6_USE_WAVES=True
export MOM6_ALLOW_LANDMASK_CHANGES=False
# MOM6 IAU
export MOM_IAU=False
export MOM_IAU_HRS=6
export ODA_INCUPD=False
export ODA_INCUPD_NHOURS=6
export ODA_TEMPINC_VAR="'pt_inc'"
export ODA_SALTINC_VAR="'s_inc'"
export ODA_THK_VAR="'h_fg'"
export ODA_INCUPD_UV=False
export ODA_UINC_VAR="'u_inc'"
export ODA_VINC_VAR="'v_inc'"
# MOM6 stochastics
export DO_OCN_SPPT=False
export PERT_EPBL=False
Expand Down Expand Up @@ -1032,8 +1038,14 @@ export MOM6_RIVER_RUNOFF=False
export FRUNOFF=''
export CHLCLIM=seawifs_1998-2006_smoothed_2X.nc
# MOM6 IAU
export MOM_IAU=False
export MOM_IAU_HRS=6
export ODA_INCUPD=False
export ODA_INCUPD_NHOURS=6
export ODA_TEMPINC_VAR="'pt_inc'"
export ODA_SALTINC_VAR="'s_inc'"
export ODA_THK_VAR="'h_fg'"
export ODA_INCUPD_UV=False
export ODA_UINC_VAR="'u_inc'"
export ODA_VINC_VAR="'v_inc'"
export MOM6_USE_LI2016=False
# MOM6 stochastics
export DO_OCN_SPPT=False
Expand Down
6 changes: 6 additions & 0 deletions tests/fv3_conf/cpld_control_run.IN
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ else
RFILE_OLD=$(basename $RFILE)
mv -f $RFILE INPUT/"${RFILE_OLD//${RESTART_FILE_PREFIX}./}"
done
if [[ $IAU_OFFSET == 6 ]] && [[ $FHROT -le 6 ]]; then
cp @[INPUTDATA_ROOT]/${FV3_DIR}/INPUT_L127_mx${OCNRES}/fv_increment*.nc ./INPUT/.
fi

#if not mx025, then mom6 restart is a single file
if [[ $OCNRES == 025 ]]; then
Expand All @@ -105,6 +108,9 @@ else
cp ../${DEP_RUN}${SUFFIX}/RESTART/${RESTART_FILE_PREFIX}.MOM.res_3.nc ./INPUT/MOM.res_3.nc
else
cp ../${DEP_RUN}${SUFFIX}/RESTART/${RESTART_FILE_PREFIX}.MOM.res.nc ./INPUT/MOM.res.nc
if [[ $ODA_INCUPD == 'True' ]] && [[ $FHROT -le 6 ]]; then
cp @[INPUTDATA_ROOT]/MOM6_IC/mom6_increment.nc ./INPUT/mom6_increment.nc
fi
fi

# CMEPS restart and pointer files
Expand Down
2 changes: 1 addition & 1 deletion tests/fv3_conf/cpld_datm_cdeps.IN
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ $WARM_START = .false. ]; then
else
cp @[INPUTDATA_ROOT]/MOM6_IC/@[OCNRES]/2011100100/MOM6_IC_TS*.nc ./INPUT/MOM6_IC_TS.nc
cp @[INPUTDATA_ROOT]/CICE_IC/@[OCNRES]/cice_model_@[ICERES].cpc.res_2011100100.nc cice_model.res.nc
if [[ $MOM_IAU == 'True' ]];then
if [[ $ODA_INCUPD == 'True' ]];then
cp @[INPUTDATA_ROOT]/MOM6_IC/@[OCNRES]/2011100100/mom6_increment.nc ./INPUT/mom6_increment.nc
fi
fi
Expand Down
1,762 changes: 889 additions & 873 deletions tests/logs/RegressionTests_acorn.log

Large diffs are not rendered by default.

1,776 changes: 896 additions & 880 deletions tests/logs/RegressionTests_gaea.log

Large diffs are not rendered by default.

2,506 changes: 1,261 additions & 1,245 deletions tests/logs/RegressionTests_hera.log

Large diffs are not rendered by default.

2,454 changes: 1,235 additions & 1,219 deletions tests/logs/RegressionTests_hercules.log

Large diffs are not rendered by default.

1,578 changes: 797 additions & 781 deletions tests/logs/RegressionTests_jet.log

Large diffs are not rendered by default.

2,133 changes: 1,057 additions & 1,076 deletions tests/logs/RegressionTests_orion.log

Large diffs are not rendered by default.

1,582 changes: 799 additions & 783 deletions tests/logs/RegressionTests_wcoss2.log

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions tests/parm/MOM_input_template_025
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,31 @@ ENERGYSAVEDAYS = 1.00 ! [days] default = 1.0

! === module ocean_model_init ===

! === module MOM_oda_incupd ===
ODA_INCUPD = @[ODA_INCUPD] ! [Boolean] default = False
! If true, oda incremental updates will be applied
! everywhere in the domain.
ODA_INCUPD_FILE = "mom6_increment.nc" ! The name of the file with the T,S,h increments.

ODA_TEMPINC_VAR = @[ODA_TEMPINC_VAR] ! default = "ptemp_inc"
! The name of the potential temperature inc. variable in
! ODA_INCUPD_FILE.
ODA_SALTINC_VAR = @[ODA_SALTINC_VAR] ! default = "sal_inc"
! The name of the salinity inc. variable in
! ODA_INCUPD_FILE.
ODA_THK_VAR = @[ODA_THK_VAR] ! default = "h"
! The name of the int. depth inc. variable in
! ODA_INCUPD_FILE.
ODA_INCUPD_UV = @[ODA_INCUPD_UV] !
ODA_UINC_VAR = @[ODA_UINC_VAR] ! default = "u_inc"
! The name of the zonal vel. inc. variable in
! ODA_INCUPD_UV_FILE.
ODA_VINC_VAR = @[ODA_VINC_VAR] ! default = "v_inc"
! The name of the meridional vel. inc. variable in
! ODA_INCUPD_UV_FILE.
ODA_INCUPD_NHOURS = @[ODA_INCUPD_NHOURS] ! default=3.0
! Number of hours for full update (0=direct insertion).

! === module MOM_surface_forcing ===
OCEAN_SURFACE_STAGGER = "A" ! default = "C"
! A case-insensitive character string to indicate the
Expand Down
27 changes: 26 additions & 1 deletion tests/parm/MOM_input_template_050
Original file line number Diff line number Diff line change
Expand Up @@ -860,8 +860,33 @@ USE_NEUTRAL_DIFFUSION = True ! [Boolean] default = False
! If true, enables the neutral diffusion module.

! === module ocean_model_init ===

RESTART_CHECKSUMS_REQUIRED = False

! === module MOM_oda_incupd ===
ODA_INCUPD = @[ODA_INCUPD] ! [Boolean] default = False
! If true, oda incremental updates will be applied
! everywhere in the domain.
ODA_INCUPD_FILE = "mom6_increment.nc" ! The name of the file with the T,S,h increments.

ODA_TEMPINC_VAR = @[ODA_TEMPINC_VAR] ! default = "ptemp_inc"
! The name of the potential temperature inc. variable in
! ODA_INCUPD_FILE.
ODA_SALTINC_VAR = @[ODA_SALTINC_VAR] ! default = "sal_inc"
! The name of the salinity inc. variable in
! ODA_INCUPD_FILE.
ODA_THK_VAR = @[ODA_THK_VAR] ! default = "h"
! The name of the int. depth inc. variable in
! ODA_INCUPD_FILE.
ODA_INCUPD_UV = @[ODA_INCUPD_UV] !
ODA_UINC_VAR = @[ODA_UINC_VAR] ! default = "u_inc"
! The name of the zonal vel. inc. variable in
! ODA_INCUPD_UV_FILE.
ODA_VINC_VAR = @[ODA_VINC_VAR] ! default = "v_inc"
! The name of the meridional vel. inc. variable in
! ODA_INCUPD_UV_FILE.
ODA_INCUPD_NHOURS = @[ODA_INCUPD_NHOURS] ! default=3.0
! Number of hours for full update (0=direct insertion).

! === module MOM_lateral_boundary_diffusion ===
! This module implements lateral diffusion of tracers near boundaries

Expand Down
50 changes: 25 additions & 25 deletions tests/parm/MOM_input_template_100
Original file line number Diff line number Diff line change
Expand Up @@ -74,31 +74,6 @@ WRITE_GEOM = 2 ! default = 1
SAVE_INITIAL_CONDS = False ! [Boolean] default = False
! If true, write the initial conditions to a file given by IC_OUTPUT_FILE.

! === module MOM_oda_incupd ===
ODA_INCUPD = @[MOM_IAU] ! [Boolean] default = False
! If true, oda incremental updates will be applied
! everywhere in the domain.
ODA_INCUPD_FILE = "mom6_increment.nc" ! The name of the file with the T,S,h increments.

ODA_TEMPINC_VAR = "pt_inc" ! default = "ptemp_inc"
! The name of the potential temperature inc. variable in
! ODA_INCUPD_FILE.
ODA_SALTINC_VAR = "s_inc" ! default = "sal_inc"
! The name of the salinity inc. variable in
! ODA_INCUPD_FILE.
ODA_THK_VAR = "h_fg" ! default = "h"
! The name of the int. depth inc. variable in
! ODA_INCUPD_FILE.

ODA_UINC_VAR = "u_inc" ! default = "u_inc"
! The name of the zonal vel. inc. variable in
! ODA_INCUPD_UV_FILE.
ODA_VINC_VAR = "v_inc" ! default = "v_inc"
! The name of the meridional vel. inc. variable in
! ODA_INCUPD_UV_FILE.
ODA_INCUPD_NHOURS = @[MOM_IAU_HRS] ! default=3.0
! Number of hours for full update (0=direct insertion).

! === module MOM_domains ===
TRIPOLAR_N = True ! [Boolean] default = False
! Use tripolar connectivity at the northern edge of the domain. With
Expand Down Expand Up @@ -832,6 +807,31 @@ ENERGYSAVEDAYS = 0.25 ! [days] default = 1.0

! === module ocean_model_init ===

! === module MOM_oda_incupd ===
ODA_INCUPD = @[ODA_INCUPD] ! [Boolean] default = False
! If true, oda incremental updates will be applied
! everywhere in the domain.
ODA_INCUPD_FILE = "mom6_increment.nc" ! The name of the file with the T,S,h increments.

ODA_TEMPINC_VAR = @[ODA_TEMPINC_VAR] ! default = "ptemp_inc"
! The name of the potential temperature inc. variable in
! ODA_INCUPD_FILE.
ODA_SALTINC_VAR = @[ODA_SALTINC_VAR] ! default = "sal_inc"
! The name of the salinity inc. variable in
! ODA_INCUPD_FILE.
ODA_THK_VAR = @[ODA_THK_VAR] ! default = "h"
! The name of the int. depth inc. variable in
! ODA_INCUPD_FILE.
ODA_INCUPD_UV = @[ODA_INCUPD_UV] !
ODA_UINC_VAR = @[ODA_UINC_VAR] ! default = "u_inc"
! The name of the zonal vel. inc. variable in
! ODA_INCUPD_UV_FILE.
ODA_VINC_VAR = @[ODA_VINC_VAR] ! default = "v_inc"
! The name of the meridional vel. inc. variable in
! ODA_INCUPD_UV_FILE.
ODA_INCUPD_NHOURS = @[ODA_INCUPD_NHOURS] ! default=3.0
! Number of hours for full update (0=direct insertion).

! === module MOM_surface_forcing ===
OCEAN_SURFACE_STAGGER = "A" ! default = "C"
! A case-insensitive character string to indicate the
Expand Down
25 changes: 25 additions & 0 deletions tests/parm/MOM_input_template_500
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,31 @@ MAXTRUNC = 1000 ! [truncations save_interval-1] default = 0

! === module ocean_model_init ===

! === module MOM_oda_incupd ===
ODA_INCUPD = @[ODA_INCUPD] ! [Boolean] default = False
! If true, oda incremental updates will be applied
! everywhere in the domain.
ODA_INCUPD_FILE = "mom6_increment.nc" ! The name of the file with the T,S,h increments.

ODA_TEMPINC_VAR = @[ODA_TEMPINC_VAR] ! default = "ptemp_inc"
! The name of the potential temperature inc. variable in
! ODA_INCUPD_FILE.
ODA_SALTINC_VAR = @[ODA_SALTINC_VAR] ! default = "sal_inc"
! The name of the salinity inc. variable in
! ODA_INCUPD_FILE.
ODA_THK_VAR = @[ODA_THK_VAR] ! default = "h"
! The name of the int. depth inc. variable in
! ODA_INCUPD_FILE.
ODA_INCUPD_UV = @[ODA_INCUPD_UV] !
ODA_UINC_VAR = @[ODA_UINC_VAR] ! default = "u_inc"
! The name of the zonal vel. inc. variable in
! ODA_INCUPD_UV_FILE.
ODA_VINC_VAR = @[ODA_VINC_VAR] ! default = "v_inc"
! The name of the meridional vel. inc. variable in
! ODA_INCUPD_UV_FILE.
ODA_INCUPD_NHOURS = @[ODA_INCUPD_NHOURS] ! default=3.0
! Number of hours for full update (0=direct insertion).

! === module MOM_surface_forcing ===
OCEAN_SURFACE_STAGGER = "A" ! default = "C"
! A case-insensitive character string to indicate the
Expand Down
5 changes: 5 additions & 0 deletions tests/parm/cpld_control.nml.IN
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
agrid_vel_rst = .true.
read_increment = @[READ_INCREMENT]
res_latlon_dynamics = @[RES_LATLON_DYNAMICS]

/

&external_ic_nml
Expand Down Expand Up @@ -218,6 +219,10 @@
do_sppt = @[DO_SPPT]
do_shum = @[DO_SHUM]
do_skeb = @[DO_SKEB]
iaufhrs = @[IAUFHRS]
iau_delthrs = @[IAU_DELTHRS]
iau_inc_files= @[IAU_INC_FILES]
iau_drymassfixer = .false.
use_med_flux = @[USE_MED_FLUX]
frac_grid = @[FRAC_GRID]
cplchm = @[CPLCHM]
Expand Down
Loading