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

◆ energy_glacier()

subroutine, private noahmp_glacier_routines::energy_glacier ( integer, intent(in)  nsnow,
integer, intent(in)  nsoil,
integer, intent(in)  isnow,
real (kind=kind_phys), intent(in)  dt,
real (kind=kind_phys), intent(in)  qsnow,
real (kind=kind_phys), intent(in)  rhoair,
real (kind=kind_phys), intent(in)  eair,
real (kind=kind_phys), intent(in)  sfcprs,
real (kind=kind_phys), intent(in)  qair,
real (kind=kind_phys), intent(in)  sfctmp,
real (kind=kind_phys), intent(in)  lwdn,
real (kind=kind_phys), intent(in)  uu,
real (kind=kind_phys), intent(in)  vv,
real (kind=kind_phys), dimension( 1: 2), intent(in)  solad,
real (kind=kind_phys), dimension( 1: 2), intent(in)  solai,
real (kind=kind_phys), intent(in)  cosz,
real (kind=kind_phys), intent(in)  zref,
real (kind=kind_phys), intent(in)  tbot,
real (kind=kind_phys), intent(in)  zbot,
real (kind=kind_phys), dimension(-nsnow+1:nsoil), intent(in)  zsnso,
real (kind=kind_phys), dimension(-nsnow+1:nsoil), intent(in)  dzsnso,
real (kind=kind_phys), intent(in)  sigmaf1,
real (kind=kind_phys), intent(in)  garea1,
logical, intent(in)  thsfc_loc,
real (kind=kind_phys), intent(in)  prslkix,
real (kind=kind_phys), intent(in)  prsik1x,
real (kind=kind_phys), intent(in)  prslk1x,
real (kind=kind_phys), intent(inout)  tg,
real (kind=kind_phys), dimension(-nsnow+1:nsoil), intent(inout)  stc,
real (kind=kind_phys), intent(inout)  snowh,
real (kind=kind_phys), intent(inout)  sneqv,
real (kind=kind_phys), intent(inout)  sneqvo,
real (kind=kind_phys), dimension( 1:nsoil), intent(inout)  sh2o,
real (kind=kind_phys), dimension( 1:nsoil), intent(inout)  smc,
real (kind=kind_phys), dimension(-nsnow+1: 0), intent(inout)  snice,
real (kind=kind_phys), dimension(-nsnow+1: 0), intent(inout)  snliq,
real (kind=kind_phys), intent(inout)  albold,
real (kind=kind_phys), intent(inout)  cm,
real (kind=kind_phys), intent(inout)  ch,
  ifdef,
  CCPP 
)
private
Parameters
[in]nsnowmaximum no. of snow layers
[in]nsoilnumber of soil layers
[in]isnowactual no. of snow layers
[in]dttime step [sec]
[in]qsnowsnowfall on the ground (mm/s)
[in]rhoairdensity air (kg/m3)
[in]eairvapor pressure air (pa)
[in]sfcprspressure (pa)
[in]qairspecific humidity (kg/kg)
[in]sfctmpair temperature (k)
[in]lwdndownward longwave radiation (w/m2)
[in]uuwind speed in e-w dir (m/s)
[in]vvwind speed in n-s dir (m/s)
[in]soladincoming direct solar rad. (w/m2)
[in]solaiincoming diffuse solar rad. (w/m2)
[in]coszcosine solar zenith angle (0-1)
[in]zrefreference height (m)
[in]tbotbottom condition for soil temp. (k)
[in]zbotdepth for tbot [m]
[in]zsnsolayer-bottom depth from snow surf [m]
[in]dzsnsodepth of snow & soil layer-bottom [m]
[in]sigmaf1areal fractional cover of green vegetation
[in]garea1area of the grid cell
[in,out]tgground temperature (k)
[in,out]stcsnow/soil temperature [k]
[in,out]snowhsnow height [m]
[in,out]sneqvsnow mass (mm)
[in,out]sneqvosnow mass at last time step (mm)
[in,out]sh2oliquid soil moisture [m3/m3]
[in,out]smcsoil moisture (ice + liq.) [m3/m3]
[in,out]snicesnow ice mass (kg/m2)
[in,out]snliqsnow liq mass (kg/m2)
[in,out]alboldsnow albedo at last time step(class type)
[in,out]cmmomentum drag coefficient
[in,out]chsensible heat exchange coefficient

References glacier_flux(), phasechange_glacier(), radiation_glacier(), thermoprop_glacier(), and tsnosoi_glacier().

Referenced by noahmp_glacier().

Here is the call graph for this function:
Here is the caller graph for this function: