Skip to content

Commit

Permalink
Enable running regional nesting configurations and add four regional …
Browse files Browse the repository at this point in the history
…and global nesting RTs as well as two HAFS WW3 coupling RTs (#846)

* * Add the following HAFS regional and global nesting regression tests.
  - hafs_regional_1nest_atm
  - hafs_regional_telescopic_2nests_atm
  - hafs_global_1nest_atm
  - hafs_global_multiple_4nests_atm
* Unify and simplify the existing HAFS regression tests for both scripts and input data.
* Switch to use 'netcdf' instead of 'netcdf_parallel' for the sfcfhhh.nc files for the hafs_regional_1nest_atm RT to speed up the write grid component.
* *Add FHCYC, FHSWR, and FHLWR in tests/parm/input_global/regional/nest_hafs.nml.IN. Change FHCYC from 24 to 0 for hafs RTs.
* *Add two HAFS WW3 related regression tests.
 - hafs_regional_atm_wav: two-way atm-wav coupling
 - hafs_regional_atm_ocn_wav: two-way atm-ocn coupling and one-way atm2wav coupling
* updated hafs/ww3 tests -- rt.sh points to the temporary update input directories on orion

Co-authored-by: JessicaMeixner-NOAA <[email protected]>
  • Loading branch information
BinLiu-NOAA and JessicaMeixner-NOAA authored Nov 2, 2021
1 parent e1cfb05 commit 5a548b9
Show file tree
Hide file tree
Showing 43 changed files with 5,255 additions and 2,520 deletions.
2 changes: 1 addition & 1 deletion FV3
Submodule FV3 updated 1 files
+54 −29 module_fcst_grid_comp.F90
216 changes: 108 additions & 108 deletions tests/RegressionTests_cheyenne.gnu.log

Large diffs are not rendered by default.

720 changes: 397 additions & 323 deletions tests/RegressionTests_cheyenne.intel.log

Large diffs are not rendered by default.

724 changes: 399 additions & 325 deletions tests/RegressionTests_gaea.intel.log

Large diffs are not rendered by default.

214 changes: 107 additions & 107 deletions tests/RegressionTests_hera.gnu.log

Large diffs are not rendered by default.

730 changes: 402 additions & 328 deletions tests/RegressionTests_hera.intel.log

Large diffs are not rendered by default.

652 changes: 341 additions & 311 deletions tests/RegressionTests_jet.intel.log

Large diffs are not rendered by default.

720 changes: 397 additions & 323 deletions tests/RegressionTests_orion.intel.log

Large diffs are not rendered by default.

429 changes: 246 additions & 183 deletions tests/RegressionTests_wcoss_cray.log

Large diffs are not rendered by default.

730 changes: 402 additions & 328 deletions tests/RegressionTests_wcoss_dell_p3.log

Large diffs are not rendered by default.

38 changes: 33 additions & 5 deletions tests/default_vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -655,16 +655,37 @@ export IAU_DRYMASSFIXER=.false.

#waves
export WW3RSTDTHR=12
export DT_2_RST="$(printf "%02d" $(( ${WW3RSTDTHR}*3600 )))"
export DTRST=0
export RSTTYPE=T
export WW3OUTDTHR=1
export WW3OUTPUTTYPE=1
export DTFLD="$(printf "%02d" $(( ${WW3OUTDTHR}*3600 )))"
export DTPNT="$(printf "%02d" $(( ${WW3OUTDTHR}*3600 )))"
export GOFILETYPE=1
export POFILETYPE=1
export OUTPARS_WAV="WND HS FP DP PHS PTP PDIR"
export CPLILINE='$'
export ICELINE='$'
export WINDLINE='$'
export CURRLINE='$'
export NFGRIDS=0
export NMGRIDS=1
export ww3gline="'glo_1deg' 'no' 'no' 'CPL:native' 'no' 'no' 'no' 'no' 'no' 'no' 1 1 0.00 1.00 F"
export WW3GRIDLINE="'glo_1deg' 'no' 'no' 'CPL:native' 'no' 'no' 'no' 'no' 'no' 'no' 1 1 0.00 1.00 F"
export FUNIPNT=T
export IOSRV=1
export FPNTPROC=T
export FGRDPROC=T
export UNIPOINTS='points'
export FLAGMASKCOMP=' F'
export FLAGMASKOUT=' F'
export RUN_BEG="${SYEAR}${SMONTH}${SDAY} $(printf "%02d" $(( ${SHOUR} )))0000"
export RUN_END="2100${SMONTH}${SDAY} $(printf "%02d" $(( ${SHOUR} )))0000"
export OUT_BEG=$RUN_BEG
export OUT_END=$RUN_END
export RST_BEG=$RUN_BEG
export RST_2_BEG=$RUN_BEG
export RST_END=$RUN_END
export RST_2_END=$RUN_END

# Regional
export WRITE_RESTART_WITH_BCS=.false.
Expand Down Expand Up @@ -887,8 +908,15 @@ export FRAZIL_FWSALT=.true.
export CICE_HIST_AVG=.true.

#wave
export ww3gline="'glo_1deg' 'no' 'CPL:native' 'CPL:native' 'CPL:native' 'no' 'no' 'no' 'no' 'no' 1 1 0.00 1.00 F"
export WW3OUTPUTTYPE=' 1'
export WW3GRIDLINE="'glo_1deg' 'no' 'CPL:native' 'CPL:native' 'CPL:native' 'no' 'no' 'no' 'no' 'no' 1 1 0.00 1.00 F"
export RUN_BEG="${SYEAR}${SMONTH}${SDAY} $(printf "%02d" $(( ${SHOUR} )))0000"
export RUN_END="2100${SMONTH}${SDAY} $(printf "%02d" $(( ${SHOUR} )))0000"
export OUT_BEG=$RUN_BEG
export OUT_END=$RUN_END
export RST_BEG=$RUN_BEG
export RST_2_BEG=$RUN_BEG
export RST_END=$RUN_END
export RST_2_END=$RUN_END

# checkpoint restarts
export RESTART_FILE_PREFIX=''
Expand Down Expand Up @@ -1113,7 +1141,7 @@ export DLON=0.03
export DLAT=0.03

# input.nml
export MERGE_IMPORT=.true.
export CPL_IMP_MRG=.true.

# nems.configure
export med_model=cmeps
Expand Down
45 changes: 0 additions & 45 deletions tests/edit_inputs.sh

This file was deleted.

22 changes: 22 additions & 0 deletions tests/fv3_conf/hafs_fv3_run.IN
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
rm -rf INPUT RESTART
mkdir INPUT RESTART

for file in $(find @[INPUTDATA_ROOT]/FV3_hafs_input_data/ -maxdepth 1 -type f); do
cp $file ./
done

if [ ${CNTL_DIR} = "hafs_regional_atm" ] || \
[ ${CNTL_DIR} = "hafs_regional_atm_ocn" ] || \
[ ${CNTL_DIR} = "hafs_regional_atm_wav" ] || \
[ ${CNTL_DIR} = "hafs_regional_atm_ocn_wav" ] || \
[ ${CNTL_DIR} = "hafs_regional_docn" ] || \
[ ${CNTL_DIR} = "hafs_regional_docn_oisst" ]; then
cp -r @[INPUTDATA_ROOT]/FV3_hafs_input_data/INPUT_hafs_regional_atm/* ./INPUT/
elif [ ${CNTL_DIR} = "hafs_regional_1nest_atm" ] || \
[ ${CNTL_DIR} = "hafs_regional_telescopic_2nests_atm" ] || \
[ ${CNTL_DIR} = "hafs_global_1nest_atm" ] || \
[ ${CNTL_DIR} = "hafs_global_multiple_4nests_atm" ]; then
cp -r @[INPUTDATA_ROOT]/FV3_hafs_input_data/INPUT_${CNTL_DIR}/* ./INPUT/
else
echo "Error: unsupported experiments ${CNTL_DIR}"
fi
4 changes: 0 additions & 4 deletions tests/fv3_conf/hafs_regional_run.IN

This file was deleted.

11 changes: 11 additions & 0 deletions tests/fv3_conf/hafs_ww3_run.IN
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

if [ ${CNTL_DIR} = "hafs_regional_atm_wav" ] || \
[ ${CNTL_DIR} = "hafs_regional_atm_ocn_wav" ]; then
cp @[INPUTDATA_ROOT_WW3]/mod_def.natl_6m ./mod_def.ww3
cp @[INPUTDATA_ROOT_WW3]/mod_def.points ./mod_def.points
cp @[INPUTDATA_ROOT_WW3]/wind.natl_6m ./wind.ww3
# Currently, provide a non-existing symbolic link for nest.ww3
ln -sf @[INPUTDATA_ROOT_WW3]/nest.ww3 ./
else
echo "Error: unsupported experiments ${CNTL_DIR}"
fi
Loading

0 comments on commit 5a548b9

Please sign in to comment.