-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR adds missing HWRF physics parameterizations and updates the Ferrier-Aligo microphysics: - WRFv4 Noah LSM - GFDL surface layer - Unified HEDMF PBL - icloud=4 option in RRTMG In addition, this PR: - cleans up old/unused/unnecessary HWRF regression tests - adds the missing `effr_in=.true.` for all Thompson MP based runs (there is now a guard in fv3atm's `GFS_typedefs.F90` to prevent running Thompson MP with `effr_in=.false.` - shortens the runtime for the `fv3_ccpp_rrfs_v1beta` run from 48h to 24h - in ccpp-physics: update `tsfc` correctly when there is ice on open water grid points (fixes NCAR/ccpp-physics#515) - set `OMP_STACKSIZE` in orion and wcoss_dell_p3 job submission scripts to avoid errors with threaded tests Co-authored-by: Bin Liu <bin.liu@noaa.gov> Co-authored-by: Jili Dong <Jili.Dong@noaa.gov> Co-authored-by: Zhan Zhang <zhan.zhang@noaa.gov> Co-authored-by: Grant Firl <grantf@ucar.edu> Co-authored-by: Man.Zhang <Man.Zhang@noaa.gov> Co-authored-by: Dom Heinzeller <dom.heinzeller@noaa.gov>
- Loading branch information
1 parent
08d06b6
commit 9429797
Showing
33 changed files
with
3,521 additions
and
1,753 deletions.
There are no files selected for viewing
Submodule FV3
updated
10 files
+1 −1 | atmos_cubed_sphere | |
+6 −4 | ccpp/config/ccpp_prebuild_config.py | |
+1 −1 | ccpp/driver/CCPP_driver.F90 | |
+1 −1 | ccpp/physics | |
+13 −9 | ccpp/suites/suite_HAFS_v0_hwrf.xml | |
+94 −0 | ccpp/suites/suite_HAFS_v0_hwrf_thompson.xml | |
+1 −1 | gfsphysics/GFS_layer/GFS_diagnostics.F90 | |
+282 −57 | gfsphysics/GFS_layer/GFS_typedefs.F90 | |
+349 −17 | gfsphysics/GFS_layer/GFS_typedefs.meta | |
+7 −7 | io/FV3GFS_io.F90 |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
rm -fr INPUT RESTART | ||
mkdir INPUT RESTART | ||
|
||
if [ $IMP_PHYSICS = 8 ]; then | ||
if [ $WARM_START = .F. ]; then | ||
cp -r @[RTPWD]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/* INPUT/ | ||
else | ||
cp -r @[RTPWD]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/grid_spec*.nc INPUT/ | ||
cp -r @[RTPWD]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/C96_grid*.nc INPUT/ | ||
cp -r @[RTPWD]/FV3_input_data_gsd/FV3_input_data_C96_with_aerosols/oro_data*.nc INPUT/ | ||
cp ../fv3_ccpp_gsd_coldstart${RT_SUFFIX}/RESTART/* INPUT/ | ||
fi | ||
elif [ $IMP_PHYSICS = 15 ]; then | ||
if [ $WARM_START = .F. ]; then | ||
cp -r @[RTPWD]/FV3_input_data/INPUT/* INPUT/ | ||
else | ||
cp -r @[RTPWD]/FV3_input_data/RESTART/* ./INPUT/ | ||
fi | ||
else | ||
echo "ERROR, no input data configured for IMP_PHYSICS=${IMP_PHYSICS}" | ||
exit 1 | ||
fi | ||
|
||
cp @[RTPWD]/FV3_input_data/INPUT/aerosol.dat . | ||
cp @[RTPWD]/FV3_input_data/INPUT/co2historicaldata_201*.txt . | ||
cp @[RTPWD]/FV3_input_data/INPUT/sfc_emissivity_idx.txt . | ||
cp @[RTPWD]/FV3_input_data/INPUT/solarconstant_noaa_an.txt . | ||
cp @[RTPWD]/FV3_input_data/ozprdlos_2015_new_sbuvO3_tclm15_nuchem.f77 ./global_o3prdlos.f77 | ||
cp @[RTPWD]/FV3_input_data/global_h2o_pltc.f77 ./global_h2oprdlos.f77 | ||
cp @[RTPWD]/FV3_input_data/*grb . | ||
cp @[RTPWD]/FV3_input_data/*_table . | ||
cp @[RTPWD]/FV3_input_data/*configure . | ||
|
||
# Copy landuse/soil/vegetation parameter tables for HWRF Noah LSM | ||
cp @[RTPWD]/FV3_input_data_hafs/GENPARM.TBL . | ||
cp @[RTPWD]/FV3_input_data_hafs/SOILPARM.TBL . | ||
cp @[RTPWD]/FV3_input_data_hafs/VEGPARM.TBL . | ||
|
||
# Copy diag table, depending on microphysics choice | ||
if [ $IMP_PHYSICS = 8 ]; then | ||
cp @[RTPWD]/FV3_input_data_gsd/diag_table_gsd_noah diag_table | ||
elif [ $IMP_PHYSICS = 15 ]; then | ||
if [ $IOVR_LW = 4 ] && [ $IOVR_SW = 4 ]; then | ||
cp @[RTPWD]/FV3_input_data_hafs/diag_table_FA_HWRF diag_table | ||
else | ||
cp @[RTPWD]/FV3_input_data_hafs/diag_table_FA diag_table | ||
fi | ||
else | ||
echo "ERROR, no diag table configured for IMP_PHYSICS=${IMP_PHYSICS}" | ||
exit 1 | ||
fi | ||
|
||
# Copy field table, depending on microphysics choice and whether MYNN/SATMEDMF is used | ||
if [ $IMP_PHYSICS = 8 ]; then | ||
if [ $LTAEROSOL = .T. ]; then | ||
if [ $DO_MYNNEDMF = .T. ] || [ $SATMEDMF = .T. ]; then | ||
cp @[RTPWD]/FV3_input_data_gsd/field_table_gsd field_table | ||
else | ||
cp @[RTPWD]/FV3_input_data_gsd/field_table_gf_thompson field_table | ||
fi | ||
else | ||
if [ $DO_MYNNEDMF = .T. ] || [ $SATMEDMF = .T. ]; then | ||
echo "ERROR, no field table configured for Thompson MP without aerosols but with MYNN or SATMEDMF (need TKE)" | ||
exit 1 | ||
else | ||
cp @[RTPWD]/FV3_input_data_gsd/field_table_thompson_noaero field_table | ||
fi | ||
fi | ||
elif [ $IMP_PHYSICS = 15 ]; then | ||
# Copy field table for Ferrier-Aligo MP | ||
cp @[RTPWD]/FV3_input_data_hafs/field_table_FA_nwat4 field_table | ||
else | ||
echo "ERROR, no field table configured for IMP_PHYSICS=${IMP_PHYSICS}" | ||
exit 1 | ||
fi | ||
|
||
# Thompson or F-A MP lookup tables | ||
if [ $IMP_PHYSICS = 8 ]; then | ||
cp @[RTPWD]/FV3_input_data_gsd/qr_acr_qs.dat . | ||
cp @[RTPWD]/FV3_input_data_gsd/qr_acr_qg.dat . | ||
cp @[RTPWD]/FV3_input_data_gsd/freezeH2O.dat . | ||
cp @[RTPWD]/FV3_input_data_gsd/CCN_ACTIVATE.BIN . | ||
elif [ $IMP_PHYSICS = 15 ]; then | ||
cp @[RTPWD]/FV3_input_data/DETAMPNEW_DATA* . | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
rm -fr INPUT RESTART | ||
mkdir INPUT RESTART | ||
|
||
if [ $WARM_START = .F. ]; then | ||
rsync -av @[RTPWD]/FV3_input_data_regional_esg/ ./ | ||
else | ||
echo "ERROR, warmstart runs not configured for regional HAFs runs on ESG grid" | ||
exit 1 | ||
fi | ||
|
||
# Copy diag table, depending on microphysics choice | ||
if [ $IMP_PHYSICS = 8 ]; then | ||
ln -sf diag_table.thompson diag_table | ||
elif [ $IMP_PHYSICS = 15 ]; then | ||
if [ $IOVR_LW = 4 ] && [ $IOVR_SW = 4 ]; then | ||
cp @[RTPWD]/FV3_input_data_hafs/diag_table_FA_HWRF diag_table | ||
else | ||
cp @[RTPWD]/FV3_input_data_hafs/diag_table_FA diag_table | ||
fi | ||
else | ||
echo "ERROR, no diag table configured for IMP_PHYSICS=${IMP_PHYSICS}" | ||
exit 1 | ||
fi | ||
|
||
# Copy field table, depending on microphysics choice and whether MYNN/SATMEDMF is used | ||
if [ $IMP_PHYSICS = 8 ]; then | ||
if [ $LTAEROSOL = .T. ]; then | ||
if [ $DO_MYNNEDMF = .T. ] || [ $SATMEDMF = .T. ]; then | ||
cp @[RTPWD]/FV3_input_data_gsd/field_table_gsd field_table | ||
else | ||
cp @[RTPWD]/FV3_input_data_gsd/field_table_gf_thompson field_table | ||
fi | ||
else | ||
if [ $DO_MYNNEDMF = .T. ] || [ $SATMEDMF = .T. ]; then | ||
echo "ERROR, no field table configured for Thompson MP without aerosols but with MYNN or SATMEDMF (need TKE)" | ||
exit 1 | ||
else | ||
cp @[RTPWD]/FV3_input_data_gsd/field_table_thompson_noaero field_table | ||
fi | ||
fi | ||
elif [ $IMP_PHYSICS = 15 ]; then | ||
# Copy field table for Ferrier-Aligo MP | ||
cp @[RTPWD]/FV3_input_data_hafs/field_table_FA_nwat4 field_table | ||
else | ||
echo "ERROR, no field table configured for IMP_PHYSICS=${IMP_PHYSICS}" | ||
exit 1 | ||
fi |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.