← Back to Documentation Home
CCPP SciDoc for UFS Land DA v3.0.0  v3.0.0
Common Community Physics Package Developed at DTC
Loading...
Searching...
No Matches

◆ mp_tempo_run()

subroutine, public mp_tempo::mp_tempo_run ( integer, intent(in) ncol,
integer, intent(in) nlev,
logical, intent(in) convert_dry_rho,
real(kind_phys), intent(in) dtp,
real(kind=kind_phys), intent(in) dt_inner,
real(kind_phys), dimension(:,:), intent(in) spechum,
real(kind_phys), dimension(:,:), intent(in) qc,
real(kind_phys), dimension(:,:), intent(in) qr,
real(kind_phys), dimension(:,:), intent(in) qi,
real(kind_phys), dimension(:,:), intent(in) qs,
real(kind_phys), dimension(:,:), intent(in) qg,
real(kind_phys), dimension(:,:), intent(in) ni,
real(kind_phys), dimension(:,:), intent(in) nr,
real(kind_phys), dimension(:,:), intent(in), optional nc,
real(kind_phys), dimension(:,:), intent(in), optional nwfa,
real(kind_phys), dimension(:,:), intent(in), optional nifa,
real(kind_phys), dimension(:), intent(in), optional nwfa2d,
real(kind_phys), dimension(:), intent(in), optional nifa2d,
real(kind_phys), dimension(:,:), intent(in), optional ng,
real(kind_phys), dimension(:,:), intent(in), optional volg,
real(kind_phys), intent(in) con_g,
logical, intent(in) first_time_step,
real(kind_phys), dimension(:,:), intent(in) tgrs,
real(kind_phys), dimension(:,:), intent(in) prsl,
real(kind_phys), dimension(:,:), intent(in) phii,
real(kind_phys), dimension(:,:), intent(in) omega,
logical, intent(in) is_aerosol_aware,
logical, intent(in) is_hail_aware,
real(kind_phys), dimension(:), intent(inout) prcp,
real(kind_phys), dimension(:), intent(inout) rain,
real(kind_phys), dimension(:), intent(inout) graupel,
real(kind_phys), dimension(:), intent(inout) ice,
real(kind_phys), dimension(:), intent(inout) snow,
real(kind_phys), dimension(:), intent(out) sr,
real(kind_phys), dimension(:,:), intent(inout) refl_10cm,
logical, intent(in) do_radar_ref,
logical, intent(in) is_initialized,
type(ty_tempo_cfgs), intent(in) tempo_cfgs,
real(kind_phys), dimension(:,:,:), intent(out) ten_q,
real(kind_phys), dimension(:,:), intent(out) ten_t,
real(kind_phys), dimension(:,:), intent(out) ten_u,
real(kind_phys), dimension(:,:), intent(out) ten_v,
real(kind_phys), dimension(:,:), intent(out) dspechum,
real(kind_phys), dimension(:,:), intent(out) dqc,
real(kind_phys), dimension(:,:), intent(out) dqr,
real(kind_phys), dimension(:,:), intent(out) dqi,
real(kind_phys), dimension(:,:), intent(out) dqs,
real(kind_phys), dimension(:,:), intent(out) dqg,
real(kind_phys), dimension(:,:), intent(out) dni,
real(kind_phys), dimension(:,:), intent(out) dnr,
real(kind_phys), dimension(:,:), intent(out), optional dnc,
real(kind_phys), dimension(:,:), intent(out), optional dnwfa,
real(kind_phys), dimension(:,:), intent(out), optional dnifa,
real(kind_phys), dimension(:,:), intent(out), optional dng,
real(kind_phys), dimension(:,:), intent(out), optional dvolg,
character(len=*), intent(out) errmsg,
integer, intent(out) errflg )

Argument Table

mp_tempo_run argument table
local_namestandard_namelong_nameunitstypedimensionskindintent
ncolhorizontal_loop_extenthorizontal loop extentcountinteger()in
nlevvertical_layer_dimensionnumber of vertical levelscountinteger()in
convert_dry_rhoflag_for_converting_hydrometeors_from_moist_to_dry_airflag for converting hydrometeors from moist to dry airflaglogical()in
dtptimestep_for_physicsphysics timestepsreal()kind_physin
dt_innertime_step_for_inner_looptime step for inner loopsreal()kind_physin
spechumspecific_humiditywater vapor specific humiditykg kg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
qccloud_liquid_water_mixing_ratiocloud water mixing ratio wrt dry+vapor (no condensates)kg kg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
qrrain_mixing_ratiorain water mixing ratio wrt dry+vapor (no condensates)kg kg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
qicloud_ice_mixing_ratioice water mixing ratio wrt dry+vapor (no condensates)kg kg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
qssnow_mixing_ratiosnow water mixing ratio wrt dry+vapor (no condensates)kg kg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
qggraupel_mixing_ratiograupel mixing ratio wrt dry+vapor (no condensates)kg kg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
nimass_number_concentration_of_cloud_ice_water_crystals_in_airice number concentrationkg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
nrmass_number_concentration_of_rainrain number concentrationkg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
ncmass_number_concentration_of_cloud_liquid_water_particles_in_aircloud droplet number concentrationkg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
nwfamass_number_concentration_of_hygroscopic_aerosolsnumber concentration of water-friendly aerosolskg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
nifamass_number_concentration_of_nonhygroscopic_ice_nucleating_aerosolsnumber concentration of ice-friendly aerosolskg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
nwfa2dtendency_of_hygroscopic_aerosols_at_surface_adjacent_layerinstantaneous fake water-friendly surface aerosol sourcekg-1 s-1real(ccpp_constant_one:horizontal_loop_extent)kind_physin
nifa2dtendency_of_nonhygroscopic_ice_nucleating_aerosols_at_surface_adjacent_layerinstantaneous fake ice-friendly surface aerosol sourcekg-1 s-1real(ccpp_constant_one:horizontal_loop_extent)kind_physin
ngmass_number_concentration_of_graupelgraupel number concentrationkg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
volggraupel_volumegraupel particle volumem3 kg-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
con_ggravitational_accelerationgravitational accelerationm s-2real()kind_physin
first_time_stepflag_for_first_timestepflag for first time step for time integration loop (cold/warmstart)flaglogical()in
tgrsair_temperaturemodel layer mean temperatureKreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
prslair_pressuremean layer pressurePareal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
phiigeopotential_at_interfacegeopotential at model layer interfacesm2 s-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_interface_dimension)kind_physin
omegalagrangian_tendency_of_air_pressurelayer mean vertical velocityPa s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
is_aerosol_awareflag_for_aerosol_physicsflag for aerosol-aware physicsflaglogical()in
is_hail_awareflag_for_hail_physicsflag for hail-aware physicsflaglogical()in
prcplwe_thickness_of_explicit_precipitation_amountexplicit precipitation (rain, ice, snow, graupel) on physics timestepmreal(ccpp_constant_one:horizontal_loop_extent)kind_physinout
rainlwe_thickness_of_explicit_rain_amountexplicit rain fall on physics timestepmreal(ccpp_constant_one:horizontal_loop_extent)kind_physinout
graupellwe_thickness_of_graupel_amountgraupel fall on physics timestepmreal(ccpp_constant_one:horizontal_loop_extent)kind_physinout
icelwe_thickness_of_ice_amountice fall on physics timestepmreal(ccpp_constant_one:horizontal_loop_extent)kind_physinout
snowlwe_thickness_of_snow_amountsnow fall on physics timestepmreal(ccpp_constant_one:horizontal_loop_extent)kind_physinout
srratio_of_snowfall_to_rainfallratio of snowfall to large-scale rainfallfracreal(ccpp_constant_one:horizontal_loop_extent)kind_physout
refl_10cmradar_reflectivity_10cminstantaneous refl_10cmdBZreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
do_radar_refflag_for_radar_reflectivityflag for radar reflectivityflaglogical()in
is_initializedflag_for_tempo_mp_scheme_initializationflag carrying scheme initialization statusflaglogical()in
tempo_cfgsconfiguration_for_tempo_microphysicsconfiguration information for TEMPO microphysicsmixedty_tempo_cfgs()ty_tempo_cfgsin
ten_qtendency_of_tracer_concentrationtendency of tracer concentration calculated by one physics schemekg kg-1 s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension, ccpp_constant_one:number_of_tracers)kind_physout
ten_ttendency_of_air_temperaturetendency of air temperature calculated by one physics schemeK s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physout
ten_utendency_of_x_windtendency of x wind calculated by one physics schemem s-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physout
ten_vtendency_of_y_windtendency of y wind calculated by one physics schemem s-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physout
dspechumtendency_of_specific_humiditywater vapor specific humidity tendencykg kg-1 s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physout
dqctendency_of_cloud_liquid_water_mixing_ratiocloud condensed water mixing ratio tendencykg kg-1 s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physout
dqrtendency_of_rain_mixing_ratioratio of mass of rain water tendency to mass of dry air plus vapor (without condensates)kg kg-1 s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physout
dqitendency_of_cloud_ice_mixing_ratiocloud condensed water mixing ratio tendencykg kg-1 s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physout
dqstendency_of_snow_mixing_ratioratio of mass of snow water tendency to mass of dry air plus vapor (without condensates)kg kg-1 s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physout
dqgtendency_of_graupel_mixing_ratioratio of mass of graupel tendency to mass of dry air plus vapor (without condensates)kg kg-1 s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physout
dnitendency_of_mass_number_concentration_of_cloud_ice_water_crystals_in_airnumber concentration of ice tendencykg-1 s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physout
dnrtendency_of_mass_number_concentration_of_rain_water_in_airnumber concentration of rain tendencykg-1 s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physout
dnctendency_of_mass_number_concentration_of_cloud_liquid_water_particles_in_airnumber concentration of cloud droplets (liquid) tendencykg-1 s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physout
dnwfatendency_of_mass_number_concentration_of_hygroscopic_aerosolsnumber concentration of water-friendly aerosols tendencykg-1 s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physout
dnifatendency_of_mass_number_concentration_of_nonhygroscopic_ice_nucleating_aerosolsnumber concentration of ice-friendly aerosols tendencykg-1 s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physout
dngtendency_of_mass_number_concentration_of_graupelnumber concentration of graupel tendencykg-1 s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physout
dvolgtendency_of_graupel_volumegraupel volume tendencym3 kg-1 s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physout
errmsgccpp_error_messageerror message for error handling in CCPPnonecharacter()len=*out
errflgccpp_error_codeerror code for error handling in CCPP1integer()out

TEMPO MP General Algorithm

  • Convert specific humidity to water vapor mixing ratio.
  • Also, hydrometeor variables are mass or number mixing ratio
  • either kg of species per kg of dry air, or per kg of (dry + vapor).
  • Layer width in m from geopotential in m2 s-2
  • Density of air in kg m-3
  • Convert omega in Pa s-1 to vertical velocity w in m s-1
  • Convert water vapor mixing ratio back to specific humidity