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

◆ snowwater_glacier()

subroutine, private noahmp_glacier_routines::snowwater_glacier ( integer, intent(in)  nsnow,
integer, intent(in)  nsoil,
integer, dimension(-nsnow+1:0), intent(in)  imelt,
real (kind=kind_phys), intent(in)  dt,
real (kind=kind_phys), intent(in)  sfctmp,
real (kind=kind_phys), intent(in)  snowhin,
real (kind=kind_phys), intent(in)  qsnow,
real (kind=kind_phys), intent(inout)  qsnfro,
real (kind=kind_phys), intent(inout)  qsnsub,
real (kind=kind_phys), intent(in)  qrain,
real (kind=kind_phys), dimension(-nsnow+1:0), intent(in)  ficeold,
real (kind=kind_phys), dimension( 1:nsoil), intent(in)  zsoil,
integer, intent(inout)  isnow,
real (kind=kind_phys), intent(inout)  snowh,
real (kind=kind_phys), intent(inout)  sneqv,
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), dimension( 1:nsoil), intent(inout)  sh2o,
real (kind=kind_phys), dimension( 1:nsoil), intent(inout)  sice,
real (kind=kind_phys), dimension(-nsnow+1:nsoil), intent(inout)  stc,
real (kind=kind_phys), dimension(-nsnow+1:nsoil), intent(inout)  dzsnso,
real (kind=kind_phys), dimension(-nsnow+1:nsoil), intent(inout)  zsnso,
real (kind=kind_phys), intent(inout)  fsh,
real (kind=kind_phys), intent(out)  qsnbot,
real (kind=kind_phys), intent(out)  snoflow,
real (kind=kind_phys), intent(out)  ponding1,
real (kind=kind_phys), intent(out)  ponding2 
)
private
Parameters
[in]nsnowmaximum no. of snow layers
[in]nsoilno. of soil layers
[in]imeltmelting state index [0-no melt;1-melt]
[in]dttime step (s)
[in]sfctmpsurface air temperature [k]
[in]snowhinsnow depth increasing rate (m/s)
[in]qsnowsnow at ground srf (mm/s) [+]
[in,out]qsnfrosnow surface frost rate[mm/s]
[in,out]qsnsubsnow surface sublimation rate[mm/s]
[in]qrainsnow surface rain rate[mm/s]
[in]ficeoldice fraction at last timestep
[in]zsoillayer-bottom depth from soil surf (m)
[in,out]isnowactual no. of snow layers
[in,out]snowhsnow height [m]
[in,out]sneqvsnow water eqv. [mm]
[in,out]snicesnow layer ice [mm]
[in,out]snliqsnow layer liquid water [mm]
[in,out]sh2osoil liquid moisture (m3/m3)
[in,out]sicesoil ice moisture (m3/m3)
[in,out]stcsnow layer temperature [k]
[in,out]dzsnsosnow/soil layer thickness [m]
[in,out]zsnsolayer-bottom depth from snow surf [m]
[in,out]fshtotal sensible heat (w/m2) [+ to atm]
[out]qsnbotmelting water out of snow bottom [mm/s]
[out]snoflowglacier flow [mm]

References combine_glacier(), compact_glacier(), divide_glacier(), snowfall_glacier(), and snowh2o_glacier().

Referenced by water_glacier().

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