CCPP SciDoc for Idealized Regional TC Capability  SRW v3.0.0
Common Community Physics Package Developed at DTC
 
Loading...
Searching...
No Matches

◆ gfs_rrtmgp_post_run()

subroutine, public gfs_rrtmgp_post::gfs_rrtmgp_post_run ( integer, intent(in) ncol,
integer, intent(in) nlev,
integer, intent(in) nday,
integer, intent(in) isfc,
integer, intent(in) itoa,
integer, dimension(:), intent(in) idxday,
logical, intent(in) dolwrad,
logical, intent(in) doswrad,
logical, intent(in) do_lw_clrsky_hr,
logical, intent(in) do_sw_clrsky_hr,
logical, intent(in) save_diag,
real(kind_phys), intent(in) fhlwr,
real(kind_phys), intent(in) fhswr,
real(kind_phys), dimension(:), intent(in) sfc_alb_nir_dir,
real(kind_phys), dimension(:), intent(in) sfc_alb_nir_dif,
real(kind_phys), dimension(:), intent(in) sfc_alb_uvvis_dir,
real(kind_phys), dimension(:), intent(in) sfc_alb_uvvis_dif,
real(kind_phys), dimension(:,:), intent(in), optional p_lev,
real(kind_phys), dimension(:), intent(in) tsfa,
real(kind_phys), dimension(:), intent(in) coszen,
real(kind_phys), dimension(:), intent(in) coszdg,
real(kind_phys), dimension(:,:), intent(in), optional fluxlwdown_clrsky,
real(kind_phys), dimension(:,:), intent(in), optional fluxlwup_allsky,
real(kind_phys), dimension(:,:), intent(in), optional fluxlwdown_allsky,
real(kind_phys), dimension(:,:), intent(in), optional fluxlwup_clrsky,
real(kind_phys), dimension(:,:), intent(in), optional fluxswdown_clrsky,
real(kind_phys), dimension(:,:), intent(in), optional fluxswup_allsky,
real(kind_phys), dimension(:,:), intent(in), optional fluxswdown_allsky,
real(kind_phys), dimension(:,:), intent(in), optional fluxswup_clrsky,
real(kind_phys), intent(in) raddt,
real(kind_phys), dimension(:,:), intent(in) aerodp,
real(kind_phys), dimension(:,:), intent(in) cldsa,
integer, dimension(:,:), intent(in) mtopa,
integer, dimension(:,:), intent(in) mbota,
real(kind_phys), dimension(:,:), intent(in) cld_frac,
real(kind_phys), dimension(:,:), intent(in) cldtaulw,
real(kind_phys), dimension(:,:), intent(in) cldtausw,
type(cmpfsw_type), dimension(:), intent(in) scmpsw,
real(kind=kind_phys), dimension(:,:), intent(inout) fluxr,
real(kind_phys), dimension(:), intent(inout) sfcdlw,
real(kind_phys), dimension(:), intent(inout) sfculw,
type(sfcflw_type), dimension(:), intent(inout) sfcflw,
real(kind_phys), dimension(:), intent(inout) tsflw,
real(kind_phys), dimension(:,:), intent(inout) htrlw,
real(kind_phys), dimension(:,:), intent(inout), optional htrlwu,
type(topflw_type), dimension(:), intent(inout) topflw,
real(kind_phys), dimension(:), intent(inout) nirbmdi,
real(kind_phys), dimension(:), intent(inout) nirdfdi,
real(kind_phys), dimension(:), intent(inout) visbmdi,
real(kind_phys), dimension(:), intent(inout) visdfdi,
real(kind_phys), dimension(:), intent(inout) nirbmui,
real(kind_phys), dimension(:), intent(inout) nirdfui,
real(kind_phys), dimension(:), intent(inout) visbmui,
real(kind_phys), dimension(:), intent(inout) visdfui,
real(kind_phys), dimension(:), intent(inout) sfcnsw,
real(kind_phys), dimension(:), intent(inout) sfcdsw,
real(kind_phys), dimension(:,:), intent(inout) htrsw,
type(sfcfsw_type), dimension(:), intent(inout) sfcfsw,
type(topfsw_type), dimension(:), intent(inout) topfsw,
real(kind_phys), dimension(:,:), intent(inout), optional htrswc,
real(kind_phys), dimension(:,:), intent(inout), optional htrlwc,
character(len=*), intent(out) errmsg,
integer, intent(out) errflg )

Argument Table

The all-sky radiation tendency is computed, the clear-sky tendency is computed if requested.

RRTMGP surface and TOA fluxes are copied to fields that persist between radiation/physics calls.

(optional) Save additional diagnostics.

Parameters
[in]itoaVertical index for TOA level
[in]idxdayIndex array for daytime points
[in]mtopaertical indices for low, middle and high cloud bases
[in]save_diagOutput radiation diagnostics?
[in]fhswrFrequency for SW radiation calls
[in]sfc_alb_uvvis_difSurface albedo (diffuse)
[in]fluxswdown_clrskyRRTMGP shortwave clear-sky flux (W/m2)
[in]raddtRadiation time step
[in]cldtauswapprox .55mu band layer cloud optical depth
[in]scmpsw2D surface fluxes, components:
[in,out]sfcdswSW sfc all-sky downward flux (W/m2)
[in,out]htrswSW all-sky heating rate (K/s)
[in,out]htrlwuLW all-sky heating-rate updated in-between radiation calls.
[in,out]sfcflwLW radiation fluxes at sfc
[in,out]sfcfswSW radiation fluxes at sfc
[in,out]topfswSW fluxes at top atmosphere
[in,out]topflwLW fluxes at top atmosphere
[out]errmsgCCPP error message
[out]errflgCCPP error code
[in,out]htrswcSW clear-sky heating rate (K/s)
Parameters
ncolHorizontal loop extent
nlevNumber of vertical layers
ndayNumber of daylit columns
isfcVertical index for surface level
dolwradLogical flags for lw radiation calls
doswradLogical flags for sw radiation calls
do_lw_clrsky_hrOutput clear-sky LW heating-rate?
do_sw_clrsky_hrOutput clear-sky SW heating-rate?
fhlwrFrequency for LW radiation calls
sfc_alb_nir_dirSurface albedo (direct)
sfc_alb_nir_difSurface albedo (diffuse)
sfc_alb_uvvis_dirSurface albedo (direct)
p_levPressure @ model layer-interfaces (Pa)
tsfaLowest model layer air temperature for radiation (K)
coszenCosine(SZA)
coszdgCosine(SZA), daytime
fluxlwdown_clrskyRRTMGP longwave clear-sky flux (W/m2)
fluxlwup_allskyRRTMGP longwave all-sky flux (W/m2)
fluxlwdown_allskyRRTMGP longwave all-sky flux (W/m2)
fluxlwup_clrskyRRTMGP longwave clear-sky flux (W/m2)
fluxswup_allskyRRTMGP shortwave all-sky flux (W/m2)
fluxswdown_allskyRRTMGP shortwave all-sky flux (W/m2)
fluxswup_clrskyRRTMGP shortwave clear-sky flux (W/m2)
aerodpVertical integrated optical depth for various aerosol species
cldsaFraction of clouds for low, middle, high, total and BL
mbotaVertical indices for low, middle and high cloud tops
cld_fracTotal cloud fraction in each layer
cldtaulwapprox 10.mu band layer cloud optical depth
sfcdlwLW sfc all-sky downward flux (W/m2)
sfculwLW sfc all-sky upward flux (W/m2)
tsflwLW sfc air temp during calculation (K)
htrlwLW all-sky heating rate (K/s)
nirbmdiSW sfc nir beam downward flux (W/m2)
nirdfdiSW sfc nir diff downward flux (W/m2)
visbmdiSW sfc uv+vis beam downward flux (W/m2)
visdfdiSW sfc uv+vis diff downward flux (W/m2)
nirbmuiSW sfc nir beam upward flux (W/m2)
nirdfuiSW sfc nir diff upward flux (W/m2)
visbmuiSW sfc uv+vis beam upward flux (W/m2)
visdfuiSW sfc uv+vis diff upward flux (W/m2)
sfcnswSW sfc all-sky net flux (W/m2) flux into ground
htrlwcLW clear-sky heating-rate (K/s)