CCPP SciDoc  v6.0.0
Common Community Physics Package Developed at DTC

◆ gfs_surface_generic_pre_run()

subroutine, public gfs_surface_generic_pre::gfs_surface_generic_pre_run ( integer, intent(in)  nthreads,
integer, intent(in)  im,
integer, intent(in)  levs,
real(kind=kind_phys), dimension(:), intent(in)  vfrac,
integer, dimension(:), intent(in)  islmsk,
integer, intent(in)  isot,
integer, intent(in)  ivegsrc,
integer, dimension(:), intent(inout)  stype,
integer, dimension(:), intent(inout)  vtype,
integer, dimension(:), intent(inout)  slope,
real(kind=kind_phys), dimension(:), intent(in)  prsik_1,
real(kind=kind_phys), dimension(:), intent(in)  prslk_1,
real(kind=kind_phys), dimension(:), intent(inout)  tsfc,
real(kind=kind_phys), dimension(:,:), intent(in)  phil,
real(kind=kind_phys), intent(in)  con_g,
real(kind=kind_phys), dimension(:), intent(inout)  sigmaf,
real(kind=kind_phys), dimension(:), intent(inout)  work3,
real(kind=kind_phys), dimension(:), intent(inout)  zlvl,
real(kind=kind_phys), dimension(:), intent(out)  drain_cpl,
real(kind=kind_phys), dimension(:), intent(out)  dsnow_cpl,
real(kind=kind_phys), dimension(:), intent(in)  rain_cpl,
real(kind=kind_phys), dimension(:), intent(in)  snow_cpl,
integer, intent(in)  lndp_type,
integer, intent(in)  n_var_lndp,
real(kind=kind_phys), dimension(:,:), intent(in)  sfc_wts,
character(len=3), dimension(:), intent(in)  lndp_var_list,
real(kind=kind_phys), dimension(:), intent(in)  lndp_prt_list,
real(kind=kind_phys), dimension(:), intent(out)  z01d,
real(kind=kind_phys), dimension(:), intent(out)  zt1d,
real(kind=kind_phys), dimension(:), intent(out)  bexp1d,
real(kind=kind_phys), dimension(:), intent(out)  xlai1d,
real(kind=kind_phys), dimension(:), intent(out)  vegf1d,
real(kind=kind_phys), intent(out)  lndp_vgf,
logical, intent(in)  cplflx,
logical, dimension(:), intent(inout)  flag_cice,
integer, dimension(:), intent(out)  islmsk_cice,
real(kind=kind_phys), dimension(:), intent(in)  slimskin_cpl,
real(kind=kind_phys), dimension(:), intent(out)  wind,
real(kind=kind_phys), dimension(:), intent(in)  u1,
real(kind=kind_phys), dimension(:), intent(in)  v1,
real(kind=kind_phys), dimension(:), intent(inout)  cnvwind,
real(kind=kind_phys), dimension(:), intent(out)  smcwlt2,
real(kind=kind_phys), dimension(:), intent(out)  smcref2,
integer, dimension(:), intent(out)  vtype_save,
integer, dimension(:), intent(out)  stype_save,
integer, dimension(:), intent(out)  slope_save,
character(len=*), intent(out)  errmsg,
integer, intent(out)  errflg 
)

Argument Table

GFS_surface_generic_pre_run argument table
local_namestandard_namelong_nameunitstypedimensionskindintent
nthreadsnumber_of_openmp_threadsnumber of OpenMP threads available for physics schemescountinteger()in
imhorizontal_loop_extenthorizontal loop extentcountinteger()in
levsvertical_layer_dimensionnumber of vertical levelscountinteger()in
vfracvegetation_area_fractionareal fractional cover of green vegetationfracreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
islmsksea_land_ice_masklandmask: sea/land/ice=0/1/2flaginteger(ccpp_constant_one:horizontal_loop_extent)in
isotcontrol_for_soil_type_datasetsoil type dataset choiceindexinteger()in
ivegsrccontrol_for_vegetation_datasetland use dataset choiceindexinteger()in
stypesoil_type_classificationsoil type for lsmindexinteger(ccpp_constant_one:horizontal_loop_extent)inout
vtypevegetation_type_classificationvegetation type for lsmindexinteger(ccpp_constant_one:horizontal_loop_extent)inout
slopesurface_slope_classificationsfc slope type for lsmindexinteger(ccpp_constant_one:horizontal_loop_extent)inout
vtype_savevegetation_type_classification_savevegetation type for lsm saveindexinteger(ccpp_constant_one:horizontal_loop_extent)out
stype_savesoil_type_classification_savesoil type for lsm saveindexinteger(ccpp_constant_one:horizontal_loop_extent)out
slope_savesurface_slope_classification_savesfc slope type for lsm saveindexinteger(ccpp_constant_one:horizontal_loop_extent)out
prsik_1surface_dimensionless_exner_functiondimensionless Exner function at lowest model interfacenonereal(ccpp_constant_one:horizontal_loop_extent)kind_physin
prslk_1dimensionless_exner_function_at_surface_adjacent_layerdimensionless Exner function at lowest model layernonereal(ccpp_constant_one:horizontal_loop_extent)kind_physin
tsfcsurface_skin_temperaturesurface skin temperatureKreal(ccpp_constant_one:horizontal_loop_extent)kind_physinout
philgeopotentialgeopotential at model layer centersm2 s-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
con_ggravitational_accelerationgravitational accelerationm s-2real()kind_physin
sigmafbounded_vegetation_area_fractionareal fractional cover of green vegetation bounded on the bottomfracreal(ccpp_constant_one:horizontal_loop_extent)kind_physinout
work3ratio_of_exner_function_between_midlayer_and_interface_at_lowest_model_layerExner function ratio bt midlayer and interface at 1st layerratioreal(ccpp_constant_one:horizontal_loop_extent)kind_physinout
zlvlheight_above_ground_at_lowest_model_layerlayer 1 height above ground (not MSL)mreal(ccpp_constant_one:horizontal_loop_extent)kind_physinout
drain_cpltendency_of_lwe_thickness_of_rain_amount_on_dynamics_timestep_for_couplingchange in rain_cpl (coupling_type)mreal(ccpp_constant_one:horizontal_loop_extent)kind_physout
dsnow_cpltendency_of_lwe_thickness_of_snowfall_amount_on_dynamics_timestep_for_couplingchange in show_cpl (coupling_type)mreal(ccpp_constant_one:horizontal_loop_extent)kind_physout
rain_cplcumulative_lwe_thickness_of_precipitation_amount_for_couplingtotal rain precipitationmreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
snow_cplcumulative_lwe_thickness_of_snow_amount_for_couplingtotal snow precipitationmreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
lndp_typecontrol_for_stochastic_land_surface_perturbationindex for stochastic land surface perturbations typeindexinteger()in
n_var_lndpnumber_of_perturbed_land_surface_variablesnumber of land surface variables perturbedcountinteger()in
sfc_wtssurface_stochastic_weights_from_coupled_processweights for stochastic surface physics perturbation1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:number_of_perturbed_land_surface_variables)kind_physin
lndp_var_listland_surface_perturbation_variablesvariables to be perturbed for landpertsnonecharacter(ccpp_constant_one:number_of_perturbed_land_surface_variables)len=3in
lndp_prt_listland_surface_perturbation_magnitudesmagnitude of perturbations for landpertsvariablereal(ccpp_constant_one:number_of_perturbed_land_surface_variables)kind_physin
z01dperturbation_of_momentum_roughness_lengthperturbation of momentum roughness lengthfracreal(ccpp_constant_one:horizontal_loop_extent)kind_physout
zt1dperturbation_of_heat_to_momentum_roughness_length_ratioperturbation of heat to momentum roughness length ratiofracreal(ccpp_constant_one:horizontal_loop_extent)kind_physout
bexp1dperturbation_of_soil_type_b_parameterperturbation of soil type "b" parameterfracreal(ccpp_constant_one:horizontal_loop_extent)kind_physout
xlai1dperturbation_of_leaf_area_indexperturbation of leaf area indexfracreal(ccpp_constant_one:horizontal_loop_extent)kind_physout
vegf1dperturbation_of_vegetation_fractionperturbation of vegetation fractionfracreal(ccpp_constant_one:horizontal_loop_extent)kind_physout
lndp_vgfmagnitude_of_perturbation_of_vegetation_fractionmagnitude of perturbation of vegetation fractionfracreal()kind_physout
cplflxflag_for_surface_flux_couplingflag controlling cplflx collection (default off)flaglogical()in
flag_ciceflag_for_ciceflag for ciceflaglogical(ccpp_constant_one:horizontal_loop_extent)inout
islmsk_cicesea_land_ice_mask_cicesea/land/ice mask cice (=0/1/2)flaginteger(ccpp_constant_one:horizontal_loop_extent)out
slimskin_cplarea_type_from_coupled_processsea/land/ice mask input (=0/1/2)flagreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
windwind_speed_at_lowest_model_layerwind speed at lowest model levelm s-1real(ccpp_constant_one:horizontal_loop_extent)kind_physout
u1x_wind_at_surface_adjacent_layerzonal wind at lowest model layerm s-1real(ccpp_constant_one:horizontal_loop_extent)kind_physin
v1y_wind_at_surface_adjacent_layermeridional wind at lowest model layerm s-1real(ccpp_constant_one:horizontal_loop_extent)kind_physin
cnvwindenhancement_to_wind_speed_at_surface_adjacent_layer_due_to_convectionsurface wind enhancement due to convectionm s-1real(ccpp_constant_one:horizontal_loop_extent)kind_physinout
smcwlt2volume_fraction_of_condensed_water_in_soil_at_wilting_pointwilting point (volumetric)fracreal(ccpp_constant_one:horizontal_loop_extent)kind_physout
smcref2threshold_volume_fraction_of_condensed_water_in_soilsoil moisture threshold (volumetric)fracreal(ccpp_constant_one:horizontal_loop_extent)kind_physout
errmsgccpp_error_messageerror message for error handling in CCPPnonecharacter()len=*out
errflgccpp_error_codeerror code for error handling in CCPP1integer()out

References surface_perturbation::cdfnor().

Here is the call graph for this function: