From 66a636ae4f9ad4224d56d577506cf3bb76b808c2 Mon Sep 17 00:00:00 2001 From: Ming Hu Date: Thu, 2 Dec 2021 10:06:00 -0700 Subject: [PATCH] Update script for match the new model: (#254) 1) remove checksum from restart files 2) update field_table 3) turn on GSL drag suite. --- scripts/exregional_run_prepstart.sh | 14 +++++++++++--- ush/templates/FV3.input.yml | 6 ++++++ ush/templates/field_table.FV3_HRRR | 12 ++++++------ ush/templates/field_table.FV3_RAP | 12 ++++++------ 4 files changed, 29 insertions(+), 15 deletions(-) diff --git a/scripts/exregional_run_prepstart.sh b/scripts/exregional_run_prepstart.sh index c7a231a8b..00c87b751 100755 --- a/scripts/exregional_run_prepstart.sh +++ b/scripts/exregional_run_prepstart.sh @@ -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 @@ -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 diff --git a/ush/templates/FV3.input.yml b/ush/templates/FV3.input.yml index 276c69d2d..bb0b46543 100644 --- a/ush/templates/FV3.input.yml +++ b/ush/templates/FV3.input.yml @@ -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 @@ -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 diff --git a/ush/templates/field_table.FV3_HRRR b/ush/templates/field_table.FV3_HRRR index 0a927de45..7a8ad3bfc 100644 --- a/ush/templates/field_table.FV3_HRRR +++ b/ush/templates/field_table.FV3_HRRR @@ -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" @@ -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" @@ -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" / diff --git a/ush/templates/field_table.FV3_RAP b/ush/templates/field_table.FV3_RAP index 0a927de45..7a8ad3bfc 100644 --- a/ush/templates/field_table.FV3_RAP +++ b/ush/templates/field_table.FV3_RAP @@ -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" @@ -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" @@ -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" /