← 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

◆ gfs_rrtmgp_pre_run()

subroutine, public gfs_rrtmgp_pre::gfs_rrtmgp_pre_run ( integer, intent(in)  me,
integer, intent(in)  ncol,
integer, intent(in)  nlev,
integer, intent(in)  i_o3,
logical, intent(in)  doswrad,
logical, intent(in)  dolwrad,
real(kind_phys), intent(in)  fhswr,
real(kind_phys), intent(in)  fhlwr,
real(kind_phys), dimension(:), intent(in)  xlat,
real(kind_phys), dimension(:), intent(in)  xlon,
real(kind_phys), dimension(:,:), intent(in)  prsl,
real(kind_phys), dimension(:,:), intent(in)  tgrs,
real(kind_phys), dimension(:,:), intent(in)  prslk,
real(kind_phys), dimension(:,:), intent(in)  prsi,
real(kind_phys), dimension(:,:,:), intent(in)  qgrs,
real(kind_phys), dimension(:), intent(in)  tsfc,
real(kind_phys), dimension(:), intent(in)  coslat,
real(kind_phys), dimension(:), intent(in)  sinlat,
real(kind_phys), intent(in)  con_g,
real(kind_phys), intent(in)  con_rd,
real(kind_phys), intent(in)  con_eps,
real(kind_phys), intent(in)  con_epsm1,
real(kind_phys), intent(in)  con_fvirt,
real(kind_phys), intent(in)  con_epsqs,
real(kind_phys), intent(in)  solhr,
real(kind_phys), intent(inout)  raddt,
real(kind_phys), dimension(:,:), intent(inout), optional  p_lay,
real(kind_phys), dimension(:,:), intent(inout), optional  t_lay,
real(kind_phys), dimension(:,:), intent(inout), optional  p_lev,
real(kind_phys), dimension(:,:), intent(inout), optional  t_lev,
real(kind_phys), dimension(:,:), intent(inout), optional  vmr_o2,
real(kind_phys), dimension(:,:), intent(inout), optional  vmr_h2o,
real(kind_phys), dimension(:,:), intent(inout), optional  vmr_o3,
real(kind_phys), dimension(:,:), intent(inout), optional  vmr_ch4,
real(kind_phys), dimension(:,:), intent(inout), optional  vmr_n2o,
real(kind_phys), dimension(:,:), intent(inout), optional  vmr_co2,
real(kind_phys), dimension(:), intent(inout)  tsfg,
real(kind_phys), dimension(:), intent(inout)  tsfa,
real(kind_phys), dimension(:,:), intent(inout), optional  qs_lay,
real(kind_phys), dimension(:,:), intent(inout), optional  q_lay,
real(kind_phys), dimension(:,:), intent(inout), optional  tv_lay,
real(kind_phys), dimension(:,:), intent(inout), optional  relhum,
real(kind_phys), dimension(:,:), intent(inout), optional  deltaz,
real(kind_phys), dimension(:,:), intent(inout), optional  deltazc,
real(kind_phys), dimension(:,:), intent(inout), optional  deltap,
character(len=*), dimension(:), intent(in), optional  active_gases_array,
real(kind_phys), dimension(:), intent(inout)  tsfc_radtime,
real(kind_phys), dimension(:), intent(inout)  coszen,
real(kind_phys), dimension(:), intent(inout)  coszdg,
logical, intent(inout)  top_at_1,
integer, intent(inout)  isfc,
integer, intent(inout)  itoa,
integer, intent(out)  nday,
integer, dimension(:), intent(inout)  idxday,
real(kind_phys), dimension(:), intent(in)  semis,
real(kind_phys), dimension(:,:), intent(inout), optional  sfc_emiss_byband,
integer, intent(in)  ico2,
type(ty_ozphys), intent(in)  ozphys,
real(kind_phys), intent(in)  con_pi,
character(len=*), intent(out)  errmsg,
integer, intent(out)  errflg 
)

Argument Table

Sanitize inputs for use in RRTMGP.

Parameters
[in]i_o3Index into tracer array for ozone
[in]dolwradCall LW radiation
[in]fhlwrFrequency of LW radiation call.
[in]solhrTime in hours after 00z at the current timestep
[in]prsiPressure at model-interfaces (Pa)
[in]qgrsTracer concentrations (kg/kg)
[in]active_gases_arrayList of active gases from namelist as array
[out]errmsgError message
[in,out]itoaVertical index for TOA
[in,out]top_at_1Vertical ordering flag
[in,out]raddtRadiation time-step
[in,out]coszdgCosine of SZA, daytime
[in,out]idxdayIndices for daylit points
Parameters
meMPI rank
ncolNumber of horizontal grid points
nlevNumber of vertical layers
doswradCall SW radiation?
fhswrFrequency of SW radiation call.
xlatLatitude
xlonLongitude
prslPressure at model-layer centers (Pa)
tgrsTemperature at model-layer centers (K)
prslkExner function at model layer centers (1)
tsfcSurface skin temperature (K)
coslatCosine(latitude)
sinlatSine(latitude)
con_gPhysical constant: gravitational constant
con_rdPhysical constant: gas-constant for dry air
con_epsPhysical constant: Epsilon (Rd/Rv)
con_epsm1Physical constant: Epsilon (Rd/Rv) minus one
con_fvirtPhysical constant: Inverse of epsilon minus one
con_epsqsPhysical constant: Minimum saturation mixing-ratio (kg/kg)
p_layPressure at model-layer
t_layTemperature at model layer
p_levPressure at model-interface
t_levTemperature at model-interface
tsfgGround temperature
tsfaSkin temperature
qs_laySaturation vapor pressure at model-layers
q_layWater-vapor mixing ratio (kg/kg)
tv_layVirtual temperature at model-layers
relhumRelative-humidity at model-layers
deltazLayer thickness (m)
deltazcLayer thickness (m) (between layer centers)
deltapLayer thickness (Pa)
tsfc_radtimeSurface temperature at radiation timestep
coszenCosine of SZA
isfcVertical index for surface
sfc_emiss_byband
ico2Flag for co2 radiation scheme
con_piPhysical constant: Pi
errflgError flag

References module_radiation_astronomy::coszmn(), and module_radiation_gases::getgases().

Here is the call graph for this function: