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

This module contains the CCPP-compliant dcyc2t3 codes that fits radiative fluxes and heating rates from a coarse radiation calculation time interval into model's more frequent time steps. More...

Functions/Subroutines

subroutine, public dcyc2t3::dcyc2t3_run (solhr, slag, sdec, cdec, sinlat, coslat, con_g, con_cp, con_pi, con_sbc, xlon, coszen, tsfc_lnd, tsfc_ice, tsfc_wat, tf, tsflw, tsfc, sfcemis_lnd, sfcemis_ice, sfcemis_wat, sfcdsw, sfcnsw, sfcdlw, swh, swhc, hlw, hlwc, sfcnirbmu, sfcnirdfu, sfcvisbmu, sfcvisdfu, sfcnirbmd, sfcnirdfd, sfcvisbmd, sfcvisdfd, im, levs, deltim, fhswr, dry, icy, wet, damp_LW_fluxadj, lfnc_k, lfnc_p0, use_LW_jacobian, sfculw, fluxlwUP_jac, t_lay, p_lay, p_lev, flux2D_lwUP, flux2D_lwDOWN, pert_radtend, do_sppt, ca_global, tsfc_radtime, dtdt, dtdtnp, htrlw, adjsfcdsw, adjsfcnsw, adjsfcdlw, adjsfculw, adjsfculw_lnd, adjsfculw_ice, adjsfculw_wat, xmu, xcosz, adjnirbmu, adjnirdfu, adjvisbmu, adjvisdfu, adjnirbmd, adjnirdfd, adjvisbmd, adjvisdfd, errmsg, errflg)
 

Detailed Description

Solar heating rates and fluxes are scaled by the ratio of cosine of zenith angle at the current time to the mean value used in radiation calculation. Surface downward LW flux is scaled by the ratio of current surface air temperature to the corresponding temperature saved during LW radiation calculation. Upward LW flux at the surface is computed by current ground surface temperature. Surface emissivity effect will be taken in other part of the model.

program history:

Argument Table

dcyc2t3_run argument table
local_namestandard_namelong_nameunitstypedimensionskindintent
solhrforecast_utc_hourtime in hours after 00z at the current timestephreal()kind_physin
slagequation_of_timeequation of timeradianreal()kind_physin
sdecsine_of_solar_declination_anglesine of solar declination anglenonereal()kind_physin
cdeccosine_of_solar_declination_anglecosine of solar declination anglenonereal()kind_physin
sinlatsine_of_latitudesine of latitudenonereal(ccpp_constant_one:horizontal_loop_extent)kind_physin
coslatcosine_of_latitudecosine of latitudenonereal(ccpp_constant_one:horizontal_loop_extent)kind_physin
con_ggravitational_accelerationgravitational accelerationm s-2real()kind_physin
con_cpspecific_heat_of_dry_air_at_constant_pressurespecific heat of dry air at constant pressureJ kg-1 K-1real()kind_physin
con_pipiratio of a circle's circumference to its diameternonereal()kind_physin
con_sbcstefan_boltzmann_constantStefan-Boltzmann constantW m-2 K-4real()kind_physin
xlonlongitudelongitude of grid boxradianreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
coszencosine_of_solar_zenith_angle_for_daytime_points_on_radiation_timestepaverage of cosine of zenith angle over daytime shortwave call time intervalnonereal(ccpp_constant_one:horizontal_loop_extent)kind_physin
tsfc_lndsurface_skin_temperature_over_landsurface skin temperature over landKreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
tsfc_icesurface_skin_temperature_over_icesurface skin temperature over iceKreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
tsfc_watsurface_skin_temperature_over_watersurface skin temperature over waterKreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
tfair_temperature_at_surface_adjacent_layerair temperature at lowest model layerKreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
tsflwair_temperature_at_surface_adjacent_layer_on_radiation_timestepsurface (first layer) air temperature saved in longwave radiation callKreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
tsfcsurface_skin_temperaturesurface skin temperatureKreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
sfcemis_lndsurface_longwave_emissivity_over_landsurface lw emissivity in fraction over landfracreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
sfcemis_icesurface_longwave_emissivity_over_icesurface lw emissivity in fraction over icefracreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
sfcemis_watsurface_longwave_emissivity_over_watersurface lw emissivity in fraction over waterfracreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
sfcdswsurface_downwelling_shortwave_flux_on_radiation_timesteptotal sky surface downwelling shortwave flux on radiation time stepW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physin
sfcnswsurface_net_downwelling_shortwave_flux_on_radiation_timesteptotal sky surface net downwelling shortwave flux on radiation time stepW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physin
sfcdlwsurface_downwelling_longwave_flux_on_radiation_timesteptotal sky surface downwelling longwave flux on radiation time stepW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physin
swhtendency_of_air_temperature_due_to_shortwave_heating_on_radiation_timesteptotal sky shortwave heating rate on radiation time stepK s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
swhctendency_of_air_temperature_due_to_shortwave_heating_assuming_clear_sky_on_radiation_timestepclear sky shortwave heating rate on radiation time stepK s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
hlwtendency_of_air_temperature_due_to_longwave_heating_on_radiation_timesteptotal sky longwave heating rate on radiation time stepK s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
hlwctendency_of_air_temperature_due_to_longwave_heating_assuming_clear_sky_on_radiation_timestepclear sky longwave heating rate on radiation time stepK s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
sfcnirbmusurface_upwelling_direct_nir_shortwave_flux_on_radiation_timesteptotal sky surface upwelling beam near-infrared shortwave flux on radiation time stepW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physin
sfcnirdfusurface_upwelling_diffuse_nir_shortwave_flux_on_radiation_timesteptotal sky surface upwelling diffuse near-infrared shortwave flux on radiation time stepW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physin
sfcvisbmusurface_upwelling_direct_uv_and_vis_shortwave_flux_on_radiation_timesteptotal sky surface upwelling beam ultraviolet plus visible shortwave flux on radiation time stepW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physin
sfcvisdfusurface_upwelling_diffuse_uv_and_vis_shortwave_flux_on_radiation_timesteptotal sky surface upwelling diffuse ultraviolet plus visible shortwave flux on radiation time stepW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physin
sfcnirbmdsurface_downwelling_direct_nir_shortwave_flux_on_radiation_timesteptotal sky surface downwelling beam near-infrared shortwave flux on radiation time stepW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physin
sfcnirdfdsurface_downwelling_diffuse_nir_shortwave_flux_on_radiation_timesteptotal sky surface downwelling diffuse near-infrared shortwave flux on radiation time stepW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physin
sfcvisbmdsurface_downwelling_direct_uv_and_vis_shortwave_flux_on_radiation_timesteptotal sky surface downwelling beam ultraviolet plus visible shortwave flux on radiation time stepW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physin
sfcvisdfdsurface_downwelling_diffuse_uv_and_vis_shortwave_flux_on_radiation_timesteptotal sky surface downwelling diffuse ultraviolet plus visible shortwave flux on radiation time stepW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physin
imhorizontal_loop_extenthorizontal loop extentcountinteger()in
levsvertical_layer_dimensionnumber of vertical layerscountinteger()in
deltimtimestep_for_dynamicsdynamics timestepsreal()kind_physin
fhswrperiod_of_shortwave_radiation_callsfrequency for shortwave radiationsreal()kind_physin
dryflag_nonzero_land_surface_fractionflag indicating presence of some land surface area fractionflaglogical(ccpp_constant_one:horizontal_loop_extent)in
icyflag_nonzero_sea_ice_surface_fractionflag indicating presence of some sea ice surface area fractionflaglogical(ccpp_constant_one:horizontal_loop_extent)in
wetflag_nonzero_wet_surface_fractionflag indicating presence of some ocean or lake surface area fractionflaglogical(ccpp_constant_one:horizontal_loop_extent)in
damp_LW_fluxadjflag_to_damp_rrtmgp_lw_jacobian_flux_adjustmentlogical flag to control RRTMGP LW calculationflaglogical()in
lfnc_ktransition_pressure_length_scale_for_flux_dampingdepth of transition layer in logistic function for LW flux adjustment dampingPareal()kind_physin
lfnc_p0transition_pressure_for_flux_dampingtransition pressure for LW flux adjustment dampingPareal()kind_physin
use_LW_jacobianflag_to_calc_rrtmgp_lw_jacobianlogical flag to control RRTMGP LW calculationflaglogical()in
sfculwsurface_upwelling_longwave_flux_on_radiation_timesteptotal sky sfc upward lw fluxW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physin
fluxlwUP_jacrrtmgp_jacobian_of_lw_flux_upwardRRTMGP Jacobian upward longwave flux profileW m-2 K-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_interface_dimension)kind_physin
t_layair_temperature_of_new_statemodel layer mean temperature updated by physicsKreal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
p_layair_pressuremean layer pressurePareal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physin
p_levair_pressure_at_interfaceair pressure at model layer interfacesPareal(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_interface_dimension)kind_physin
flux2D_lwUPrrtmgp_lw_flux_profile_upward_allsky_on_radiation_timestepRRTMGP upward longwave all-sky flux profileW m-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_interface_dimension)kind_physin
flux2D_lwDOWNrrtmgp_lw_flux_profile_downward_allsky_on_radiation_timestepRRTMGP downward longwave all-sky flux profileW m-2real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_interface_dimension)kind_physin
pert_radtendflag_for_stochastic_radiative_heating_perturbationsflag for stochastic radiative heating perturbationsflaglogical()in
do_spptflag_for_stochastic_physics_perturbationsflag for stochastic physics perturbationsflaglogical()in
ca_globalflag_for_global_cellular_automataswitch for global caflaglogical()in
tsfc_radtimesurface_skin_temperature_on_radiation_timestepsurface skin temperature on radiation timestepKreal(ccpp_constant_one:horizontal_loop_extent)kind_physin
dtdtprocess_split_cumulative_tendency_of_air_temperaturetotal radiative heating rate at current timeK s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
dtdtnptendency_of_air_temperature_to_withold_from_sppttemp. change from physics that should not be perturbed by spptK s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
htrlwupdated_tendency_of_air_temperature_due_to_longwave_heating_on_physics_timesteptotal sky longwave heating rate on physics time stepK s-1real(ccpp_constant_one:horizontal_loop_extent, ccpp_constant_one:vertical_layer_dimension)kind_physinout
adjsfcdswsurface_downwelling_shortwave_fluxsurface downwelling shortwave flux at current timeW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physout
adjsfcnswsurface_net_downwelling_shortwave_fluxsurface net downwelling shortwave flux at current timeW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physout
adjsfcdlwsurface_downwelling_longwave_fluxsurface downwelling longwave flux at current timeW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physout
adjsfculwsurface_upwelling_longwave_fluxsurface upwelling longwave flux at current timeW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physout
adjsfculw_lndsurface_upwelling_longwave_flux_over_landsurface upwelling longwave flux at current time over landW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physout
adjsfculw_icesurface_upwelling_longwave_flux_over_icesurface upwelling longwave flux at current time over iceW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physout
adjsfculw_watsurface_upwelling_longwave_flux_over_watersurface upwelling longwave flux at current time over waterW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physout
xmuzenith_angle_temporal_adjustment_factor_for_shortwave_fluxeszenith angle temporal adjustment factor for shortwave fluxesnonereal(ccpp_constant_one:horizontal_loop_extent)kind_physout
xcoszinstantaneous_cosine_of_zenith_anglecosine of zenith angle at current timenonereal(ccpp_constant_one:horizontal_loop_extent)kind_physout
adjnirbmusurface_upwelling_direct_near_infrared_shortwave_fluxsurface upwelling beam near-infrared shortwave flux at current timeW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physout
adjnirdfusurface_upwelling_diffuse_near_infrared_shortwave_fluxsurface upwelling diffuse near-infrared shortwave flux at current timeW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physout
adjvisbmusurface_upwelling_direct_ultraviolet_and_visible_shortwave_fluxsurface upwelling beam ultraviolet plus visible shortwave flux at current timeW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physout
adjvisdfusurface_upwelling_diffuse_ultraviolet_and_visible_shortwave_fluxsurface upwelling diffuse ultraviolet plus visible shortwave flux at current timeW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physout
adjnirbmdsurface_downwelling_direct_near_infrared_shortwave_fluxsurface downwelling beam near-infrared shortwave flux at current timeW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physout
adjnirdfdsurface_downwelling_diffuse_near_infrared_shortwave_fluxsurface downwelling diffuse near-infrared shortwave flux at current timeW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physout
adjvisbmdsurface_downwelling_direct_ultraviolet_and_visible_shortwave_fluxsurface downwelling beam ultraviolet plus visible shortwave flux at current timeW m-2real(ccpp_constant_one:horizontal_loop_extent)kind_physout
adjvisdfdsurface_downwelling_diffuse_ultraviolet_and_visible_shortwave_fluxsurface downwelling diffuse ultraviolet plus visible shortwave flux at current timeW m-2real(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

RRTMG dcyc2t3 General Algorithm