Skip to content

Commit

Permalink
Update script for match the new model: (#254)
Browse files Browse the repository at this point in the history
1) remove checksum from restart files
2) update field_table
3) turn on GSL drag suite.
  • Loading branch information
hu5970 authored Dec 2, 2021
1 parent f0c6eeb commit 66a636a
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 15 deletions.
14 changes: 11 additions & 3 deletions scripts/exregional_run_prepstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,15 @@ else
if [ ${SAVE_CYCLE_LOG} == "TRUE" ] ; then
echo "${YYYYMMDDHH}(${cycle_type}): warm start at ${current_time} from ${checkfile} " >> ${EXPTDIR}/log.cycles
fi

#
# remove checksum from restart files. Checksum will cause trouble if model initializes from analysis
#
ncatted -a checksum,,d,, fv_core.res.tile1.nc
ncatted -a checksum,,d,, fv_tracer.res.tile1.nc
ncatted -a checksum,,d,, sfc_data.nc
ncatted -a checksum,,d,, fv_core.res.nc
ncatted -a checksum,,d,, fv_srf_wnd.res.tile1.nc
ncatted -a checksum,,d,, phy_data.nc
else
print_err_msg_exit "Error: cannot find background: ${checkfile}"
fi
Expand All @@ -272,8 +280,8 @@ if [ ${HH} -eq ${SST_update_hour} ] && [ ${cycle_type} == "prod" ] ; then
elif [ -r "${SST_ROOT}/${YYJJJ00000000}" ]; then
cp ${SST_ROOT}/${YYJJJ00000000} latest.SST
else
${ECHO} "${SST_ROOT} data does not exist!!"
${ECHO} "ERROR: No SST update at ${time_str}!!!!"
echo "${SST_ROOT} data does not exist!!"
echo "ERROR: No SST update at ${time_str}!!!!"
fi
if [ -r "latest.SST" ]; then
cp_vrfy ${FIXgsm}/RTG_SST_landmask.dat RTG_SST_landmask.dat
Expand Down
6 changes: 6 additions & 0 deletions ush/templates/FV3.input.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ FV3_HRRR:
gfs_physics_nml:
<<: *gsd_sar_phys
cdmbgwd: [3.5, 1.0]
do_gsl_drag_ls_bl: true
do_gsl_drag_ss: true
do_gsl_drag_tofd: true
do_mynnsfclay: true
do_sfcperts: !!python/none
dt_inner : 20
Expand Down Expand Up @@ -100,6 +103,9 @@ FV3_RAP:
gfs_physics_nml:
<<: *gsd_sar_phys
cdmbgwd: [3.5, 1.0]
do_gsl_drag_ls_bl: true
do_gsl_drag_ss: true
do_gsl_drag_tofd: true
do_mynnsfclay: true
do_sfcperts: !!python/none
effr_in: true
Expand Down
12 changes: 6 additions & 6 deletions ush/templates/field_table.FV3_HRRR
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"TRACER", "atmos_mod", "sphum"
"longname", "specific humidity"
"units", "kg/kg"
"profile_type", "fixed", "surface_value=1.e30" /
"profile_type", "fixed", "surface_value=1.e-6" /
# prognostic cloud water mixing ratio
"TRACER", "atmos_mod", "liq_wat"
"longname", "cloud water mixing ratio"
Expand Down Expand Up @@ -31,19 +31,19 @@
"profile_type", "fixed", "surface_value=1.e30" /
# prognostic cloud water number concentration
"TRACER", "atmos_mod", "water_nc"
"longname", "cloud liquid water number concentration"
"longname", "cloud liquid water number concentration"
"units", "/kg"
"profile_type", "fixed", "surface_value=1.e30" /
"profile_type", "fixed", "surface_value=0.0" /
# prognostic cloud ice number concentration
"TRACER", "atmos_mod", "ice_nc"
"longname", "cloud ice water number concentration"
"units", "/kg"
"profile_type", "fixed", "surface_value=1.e30" /
"profile_type", "fixed", "surface_value=0.0" /
# prognostic rain number concentration
"TRACER", "atmos_mod", "rain_nc"
"longname", "rain number concentration"
"units", "/kg"
"profile_type", "fixed", "surface_value=1.e30" /
"profile_type", "fixed", "surface_value=0.0" /
# prognostic ozone mixing ratio tracer
"TRACER", "atmos_mod", "o3mr"
"longname", "ozone mixing ratio"
Expand All @@ -62,4 +62,4 @@
"TRACER", "atmos_mod", "sgs_tke"
"longname", "subgrid scale turbulent kinetic energy"
"units", "m2/s2"
"profile_type", "fixed", "surface_value=1.e30" /
"profile_type", "fixed", "surface_value=0.0" /
12 changes: 6 additions & 6 deletions ush/templates/field_table.FV3_RAP
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"TRACER", "atmos_mod", "sphum"
"longname", "specific humidity"
"units", "kg/kg"
"profile_type", "fixed", "surface_value=1.e30" /
"profile_type", "fixed", "surface_value=1.e-6" /
# prognostic cloud water mixing ratio
"TRACER", "atmos_mod", "liq_wat"
"longname", "cloud water mixing ratio"
Expand Down Expand Up @@ -31,19 +31,19 @@
"profile_type", "fixed", "surface_value=1.e30" /
# prognostic cloud water number concentration
"TRACER", "atmos_mod", "water_nc"
"longname", "cloud liquid water number concentration"
"longname", "cloud liquid water number concentration"
"units", "/kg"
"profile_type", "fixed", "surface_value=1.e30" /
"profile_type", "fixed", "surface_value=0.0" /
# prognostic cloud ice number concentration
"TRACER", "atmos_mod", "ice_nc"
"longname", "cloud ice water number concentration"
"units", "/kg"
"profile_type", "fixed", "surface_value=1.e30" /
"profile_type", "fixed", "surface_value=0.0" /
# prognostic rain number concentration
"TRACER", "atmos_mod", "rain_nc"
"longname", "rain number concentration"
"units", "/kg"
"profile_type", "fixed", "surface_value=1.e30" /
"profile_type", "fixed", "surface_value=0.0" /
# prognostic ozone mixing ratio tracer
"TRACER", "atmos_mod", "o3mr"
"longname", "ozone mixing ratio"
Expand All @@ -62,4 +62,4 @@
"TRACER", "atmos_mod", "sgs_tke"
"longname", "subgrid scale turbulent kinetic energy"
"units", "m2/s2"
"profile_type", "fixed", "surface_value=1.e30" /
"profile_type", "fixed", "surface_value=0.0" /

0 comments on commit 66a636a

Please sign in to comment.