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

◆ gethml()

subroutine, public module_radiation_clouds::gethml ( real (kind=kind_phys), dimension(:,:), intent(in)  plyr,
real (kind=kind_phys), dimension(:,:), intent(in)  ptop1,
real (kind=kind_phys), dimension(:,:), intent(in)  cldtot,
real (kind=kind_phys), dimension(:,:), intent(in)  cldcnv,
real (kind=kind_phys), dimension(:,:), intent(in)  dz,
real (kind=kind_phys), dimension(:), intent(in)  de_lgth,
real (kind=kind_phys), dimension(:,:), intent(in)  alpha,
integer, intent(in)  IX,
integer, intent(in)  NLAY,
integer, intent(in)  iovr_rand,
  iovr_maxrand,
  iovr_max,
  iovr_dcorr,
  iovr_exp,
  iovr_exprand,
real (kind=kind_phys), dimension(:,:), intent(out)  clds,
integer, dimension(:,:), intent(out)  mtop,
integer, dimension(:,:), intent(out)  mbot 
)
Parameters
plyr(IX,NLAY), model layer mean pressure in mb (100Pa)
ptop1(IX,4), pressure limits of cloud domain interfaces (sfc,low,mid,high) in mb (100Pa)
cldtot(IX,NLAY), total or stratiform cloud profile in fraction
cldcnv(IX,NLAY), convective cloud (for diagnostic scheme only)
dz(IX,NLAY), layer thickness (km)
de_lgth(IX), clouds decorrelation length (km)
alpha(IX,NLAY), alpha decorrelation parameter
IXhorizontal dimension
NLAYvertical layer dimensions
clds(IX,5), fraction of clouds for low, mid, hi, tot, bl
mtop(IX,3),vertical indices for low, mid, hi cloud tops
mbot(IX,3),vertical indices for low, mid, hi cloud bases

Detailed Algorithm

  • Calculate total and BL cloud fractions (maximum-random cloud overlapping is operational).
  • Calculte high, mid, low cloud fractions and vertical indices of cloud tops/bases.

References climit, llyr, nk_clds, and ovcst.

Referenced by gfs_cloud_diagnostics::gfs_cloud_diagnostics_run(), radiation_clouds_prop(), and sgscloud_radpre::sgscloud_radpre_run().

Here is the caller graph for this function: