CCPP SciDoc v7.0.0  v7.0.0
Common Community Physics Package Developed at DTC
 
Loading...
Searching...
No Matches

◆ noahmp_sflx()

subroutine __module_sf_noahmplsm_f90__::noahmp_sflx ( type (noahmp_parameters), intent(in) parameters,
integer, intent(in) iloc,
integer, intent(in) jloc,
real (kind=kind_phys), intent(in) lat,
integer, intent(in) yearlen,
real (kind=kind_phys), intent(in) julian,
real (kind=kind_phys), intent(in) cosz,
real (kind=kind_phys), intent(in) dt,
real (kind=kind_phys), intent(in) dx,
real (kind=kind_phys), intent(in) dz8w,
integer, intent(in) nsoil,
real (kind=kind_phys), dimension( 1:nsoil), intent(in) zsoil,
integer, intent(in) nsnow,
real (kind=kind_phys), intent(in) shdfac,
real (kind=kind_phys), intent(in) shdmax,
integer, intent(in) vegtyp,
integer, intent(in) ice,
integer, intent(in) ist,
integer, intent(in) croptype,
real (kind=kind_phys), dimension( 1:nsoil), intent(in) smceq,
real (kind=kind_phys), intent(in) sfctmp,
real (kind=kind_phys), intent(in) sfcprs,
real (kind=kind_phys), intent(in) psfc,
real (kind=kind_phys), intent(in) uu,
real (kind=kind_phys), intent(in) vv,
real (kind=kind_phys), intent(in) q2,
real (kind=kind_phys), intent(in) garea1,
real (kind=kind_phys), intent(in) qc,
real (kind=kind_phys), intent(in) soldn,
real (kind=kind_phys), intent(in) lwdn,
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(in) pblhx,
integer, intent(in) iz0tlnd,
integer, intent(in) itime,
integer, intent(in) psi_opt,
real (kind=kind_phys), intent(in) prcpconv,
real (kind=kind_phys), intent(in) prcpnonc,
real (kind=kind_phys), intent(in) prcpshcv,
real (kind=kind_phys), intent(in) prcpsnow,
real (kind=kind_phys), intent(in) prcpgrpl,
real (kind=kind_phys), intent(in) prcphail,
real (kind=kind_phys), intent(in) tbot,
real (kind=kind_phys), intent(in) co2air,
real (kind=kind_phys), intent(in) o2air,
real (kind=kind_phys), intent(in) foln,
real (kind=kind_phys), dimension(-nsnow+1: 0), intent(in) ficeold,
real (kind=kind_phys), intent(inout) zlvl,
real (kind=kind_phys), intent(in) ep_1,
real (kind=kind_phys), intent(in) ep_2,
real (kind=kind_phys), intent(in) epsm1,
real (kind=kind_phys), intent(in) cp,
real (kind=kind_phys), intent(inout) albold,
real (kind=kind_phys), intent(inout) sneqvo,
real (kind=kind_phys), dimension(-nsnow+1:nsoil), intent(inout) stc,
real (kind=kind_phys), dimension( 1:nsoil), intent(inout) sh2o,
real (kind=kind_phys), dimension( 1:nsoil), intent(inout) smc,
real (kind=kind_phys), intent(inout) tah,
real (kind=kind_phys), intent(inout) eah,
real (kind=kind_phys), intent(inout) fwet,
real (kind=kind_phys), intent(inout) canliq,
real (kind=kind_phys), intent(inout) canice,
real (kind=kind_phys), intent(inout) tv,
real (kind=kind_phys), intent(inout) tg,
real (kind=kind_phys), intent(inout) qsfc,
real (kind=kind_phys), intent(inout) qsnow,
real (kind=kind_phys), intent(inout) qrain,
integer, intent(inout) isnow,
real (kind=kind_phys), dimension(-nsnow+1:nsoil), intent(inout) zsnso,
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), intent(inout) zwt,
real (kind=kind_phys), intent(inout) wa,
real (kind=kind_phys), intent(inout) wt,
real (kind=kind_phys), intent(inout) wslake,
real (kind=kind_phys), intent(inout) lfmass,
real (kind=kind_phys), intent(inout) rtmass,
real (kind=kind_phys), intent(inout) stmass,
real (kind=kind_phys), intent(inout) wood,
real (kind=kind_phys), intent(inout) stblcp,
real (kind=kind_phys), intent(inout) fastcp,
real (kind=kind_phys), intent(inout) lai,
real (kind=kind_phys), intent(inout) sai,
real (kind=kind_phys), intent(inout) cm,
real (kind=kind_phys), intent(inout) ch,
real (kind=kind_phys), intent(inout) tauss,
real (kind=kind_phys), intent(inout) grain,
real (kind=kind_phys), intent(inout) gdd,
integer, intent(inout) pgs,
real (kind=kind_phys), intent(inout) smcwtd,
real (kind=kind_phys), intent(inout) deeprech,
real (kind=kind_phys), intent(inout) rech,
real (kind=kind_phys), intent(inout) ustarx,
real (kind=kind_phys), intent(out) z0wrf,
real (kind=kind_phys), intent(out) z0hwrf,
real (kind=kind_phys), intent(out) ts,
real (kind=kind_phys), intent(out) fsa,
real (kind=kind_phys), intent(out) fsr,
real (kind=kind_phys), intent(out) fira,
real (kind=kind_phys), intent(out) fsh,
real (kind=kind_phys), intent(out) ssoil,
real (kind=kind_phys), intent(out) fcev,
real (kind=kind_phys), intent(out) fgev,
real (kind=kind_phys), intent(out) fctr,
real (kind=kind_phys), intent(out) ecan,
real (kind=kind_phys), intent(out) etran,
real (kind=kind_phys), intent(out) edir,
real (kind=kind_phys), intent(out) trad,
real (kind=kind_phys), intent(out) tgb,
real (kind=kind_phys), intent(out) tgv,
real (kind=kind_phys), intent(out) t2mv,
real (kind=kind_phys), intent(out) t2mb,
real (kind=kind_phys), intent(out) q2v,
real (kind=kind_phys), intent(out) q2b,
real (kind=kind_phys), intent(out) runsrf,
real (kind=kind_phys), intent(out) runsub,
real (kind=kind_phys), intent(out) apar,
real (kind=kind_phys), intent(out) psn,
real (kind=kind_phys), intent(out) sav,
real (kind=kind_phys), intent(out) sag,
real (kind=kind_phys), intent(out) fsno,
real (kind=kind_phys), intent(out) nee,
real (kind=kind_phys), intent(out) gpp,
real (kind=kind_phys), intent(out) npp,
real (kind=kind_phys), intent(out) fveg,
real (kind=kind_phys), intent(out) albedo,
real (kind=kind_phys), intent(out) qsnbot,
real (kind=kind_phys), intent(out) ponding,
real (kind=kind_phys), intent(out) ponding1,
real (kind=kind_phys), intent(out) ponding2,
real (kind=kind_phys), intent(out) rssun,
real (kind=kind_phys), intent(out) rssha,
real (kind=kind_phys), dimension(1:2), intent(out) albd,
real (kind=kind_phys), dimension(1:2), intent(out) albi,
real (kind=kind_phys), dimension(1:2), intent(out) albsnd,
real (kind=kind_phys), dimension(1:2), intent(out) albsni,
real (kind=kind_phys), intent(out) bgap,
real (kind=kind_phys), intent(out) wgap,
real (kind=kind_phys), intent(out) chv,
real (kind=kind_phys), intent(out) chb,
real (kind=kind_phys), intent(out) emissi,
real (kind=kind_phys), intent(out) shg,
real (kind=kind_phys), intent(out) shc,
real (kind=kind_phys), intent(out) shb,
real (kind=kind_phys), intent(out) evg,
real (kind=kind_phys), intent(out) evb,
real (kind=kind_phys), intent(out) ghv,
real (kind=kind_phys), intent(out) ghb,
real (kind=kind_phys), intent(out) irg,
real (kind=kind_phys), intent(out) irc,
real (kind=kind_phys), intent(out) irb,
real (kind=kind_phys), intent(out) tr,
real (kind=kind_phys), intent(out) evc,
real (kind=kind_phys), intent(out) chleaf,
real (kind=kind_phys), intent(out) chuc,
real (kind=kind_phys), intent(out) chv2,
real (kind=kind_phys), intent(out) chb2,
real (kind=kind_phys), intent(out) fpice,
real (kind=kind_phys), intent(out) pahv,
real (kind=kind_phys), intent(out) pahg,
real (kind=kind_phys), intent(out) pahb,
real (kind=kind_phys), intent(out) pah,
real (kind=kind_phys), intent(out) esnow,
real (kind=kind_phys), intent(out) canhs,
real (kind=kind_phys), intent(out) laisun,
real (kind=kind_phys), intent(out) laisha,
real (kind=kind_phys), intent(out) rb,
real (kind=kind_phys), intent(out) qsfcveg,
real (kind=kind_phys), intent(out) qsfcbare,
ifdef,
ccpp )
Parameters
[in]iceice (ice = 1)
[in]istsurface type 1->soil; 2->lake
[in]vegtypvegetation type
[in]croptypecrop type
[in]nsnowmaximum no. of snow layers
[in]nsoilno. of soil layers
[in]ilocgrid index
[in]jlocgrid index
[in]dttime step [sec]
[in]zsoillayer-bottom depth from soil surf (m)
[in]q2mixing ratio (kg/kg) lowest model layer
[in]sfctmpsurface air temperature [k]
[in]uuwind speed in eastward dir (m/s)
[in]vvwind speed in northward dir (m/s)
[in]soldndownward shortwave radiation (w/m2)
[in]lwdndownward longwave radiation (w/m2)
[in]sfcprspressure (pa)
[in]prslkixin exner function
[in]prsik1xin exner function
[in]prslk1xin exner function
[in]garea1in exner function
[in]pblhxpbl height
[in]iz0tlndz0t option
[in,out]zlvlreference height (m)
[in]coszcosine solar zenith angle [0-1]
[in]tbotbottom condition for soil temp. [k]
[in]folnfoliage nitrogen (%) [1-saturated]
[in]shdfacgreen vegetation fraction [0.0-1.0]
[in]yearlennumber of days in the particular year.
[in]julianjulian day of year (floating point)
[in]latlatitude (radians)
[in]ficeoldice fraction at last timestep
[in]smceqequilibrium soil water content [m3/m3]
[in]prcpconvconvective precipitation entering [mm/s] ! mb/an : v3.7
[in]prcpnoncnon-convective precipitation entering [mm/s] ! mb/an : v3.7
[in]prcpshcvshallow convective precip entering [mm/s] ! mb/an : v3.7
[in]prcpsnowsnow entering land model [mm/s] ! mb/an : v3.7
[in]prcpgrplgraupel entering land model [mm/s] ! mb/an : v3.7
[in]prcphailhail entering land model [mm/s] ! mb/an : v3.7
[in]qccloud water mixing ratio
[in,out]qsfcmixing ratio at lowest model layer
[in]psfcpressure at lowest model layer
[in]dz8wthickness of lowest layer
[in]shdmaxyearly max vegetation fraction
[in,out]qsnowsnowfall [mm/s]
[in,out]qrainrainfall [mm/s]
[in,out]fwetwetted or snowed fraction of canopy (-)
[in,out]sneqvosnow mass at last time step (mm)
[in,out]eahcanopy air vapor pressure (pa)
[in,out]tahcanopy air tmeperature (k)
[in,out]alboldsnow albedo at last time step (class type)
[in,out]cmmomentum drag coefficient
[in,out]chsensible heat exchange coefficient
[in,out]taussnon-dimensional snow age
[in,out]ustarxfriction velocity
[in,out]isnowactual no. of snow layers [-]
[in,out]canliqintercepted liquid water (mm)
[in,out]caniceintercepted ice mass (mm)
[in,out]sneqvsnow water eqv. [mm]
[in,out]smcsoil moisture (ice + liq.) [m3/m3]
[in,out]zsnsolayer-bottom depth from snow surf [m]
[in,out]snowhsnow height [m]
[in,out]snicesnow layer ice [mm]
[in,out]snliqsnow layer liquid water [mm]
[in,out]tvvegetation temperature (k)
[in,out]tgground temperature (k)
[in,out]stcsnow/soil temperature [k]
[in,out]sh2oliquid soil moisture [m3/m3]
[in,out]zwtdepth to water table [m]
[in,out]wawater storage in aquifer [mm]
[in,out]wtwater in aquifer&saturated soil [mm]
[in,out]wslakelake water storage (can be neg.) (mm)
[in,out]smcwtdsoil water content between bottom of the soil and water table [m3/m3]
[in,out]deeprechrecharge to or from the water table when deep [m]
[in,out]rechrecharge to or from the water table when shallow [m] (diagnostic)
[out]z0wrfcombined z0 sent to coupled model
[out]z0hwrfcombined z0h sent to coupled model
[out]fsatotal absorbed solar radiation (w/m2)
[out]fsrtotal reflected solar radiation (w/m2)
[out]firatotal net lw rad (w/m2) [+ to atm]
[out]fshtotal sensible heat (w/m2) [+ to atm]
[out]fcevcanopy evap heat (w/m2) [+ to atm]
[out]fgevground evap heat (w/m2) [+ to atm]
[out]fctrtranspiration heat (w/m2) [+ to atm]
[out]ssoilground heat flux (w/m2) [+ to soil]
[out]tradsurface radiative temperature (k)
[out]tssurface combined aero temperature (k)
[out]ecanevaporation of intercepted water (mm/s)
[out]etrantranspiration rate (mm/s)
[out]edirsoil surface evaporation rate (mm/s]
[out]runsrfsurface runoff [mm/s]
[out]runsubbaseflow (saturation excess) [mm/s]
[out]psntotal photosynthesis (umol co2/m2/s) [+]
[out]aparphotosyn active energy by canopy (w/m2)
[out]savsolar rad absorbed by veg. (w/m2)
[out]sagsolar rad absorbed by ground (w/m2)
[out]fsnosnow cover fraction on the ground (-)
[out]fveggreen vegetation fraction [0.0-1.0]
[out]albedosurface albedo [-]
[out]qsnbotsnowmelt out bottom of pack [mm/s]
[out]pondingsurface ponding [mm]
[out]ponding1surface ponding [mm]
[out]ponding2surface ponding [mm]
[out]rbleaf boundary layer resistance (s/m)
[out]laisunsunlit leaf area index (m2/m2)
[out]laishashaded leaf area index (m2/m2)
[out]qsfcvegeffective spec humid over vegetation
[out]qsfcbareeffective spec humid over bare soil
[out]t2mv2-m air temperature over vegetated part [k]
[out]t2mb2-m air temperature over bare ground part [k]
[out]rssunsunlit leaf stomatal resistance (s/m)
[out]rsshashaded leaf stomatal resistance (s/m)
[out]albdalbedo (direct)
[out]albialbedo (diffuse)
[out]albsndsnow albedo (direct)
[out]albsnisnow albedo (diffuse)
[out]irccanopy net lw rad. [w/m2] [+ to atm]
[out]irgground net lw rad. [w/m2] [+ to atm]
[out]shccanopy sen. heat [w/m2] [+ to atm]
[out]shgground sen. heat [w/m2] [+ to atm]
[out]evgground evap. heat [w/m2] [+ to atm]
[out]ghvground heat flux [w/m2] [+ to soil]
[out]irbnet longwave rad. [w/m2] [+ to atm]
[out]shbsensible heat [w/m2] [+ to atm]
[out]evbevaporation heat [w/m2] [+ to atm]
[out]ghbground heat flux [w/m2] [+ to soil]
[out]evccanopy evap. heat [w/m2] [+ to atm]
[out]trtranspiration heat [w/m2] [+ to atm]
[out]fpicesnow fraction in precipitation
[out]pahvprecipitation advected heat - vegetation net (w/m2)
[out]pahgprecipitation advected heat - under canopy net (w/m2)
[out]pahbprecipitation advected heat - bare ground net (w/m2)
[out]pahprecipitation advected heat - total (w/m2)
[out]chvsensible heat exchange coefficient over vegetated fraction
[out]chbsensible heat exchange coefficient over bare-ground
[out]chleafleaf exchange coefficient
[out]chucunder canopy exchange coefficient
[out]chv2sensible heat exchange coefficient over vegetated fraction
[out]chb2sensible heat exchange coefficient over bare-ground
[in]co2airatmospheric co2 concentration (pa)
[in]o2airatmospheric o2 concentration (pa)
[in,out]lfmassleaf mass [g/m2]
[in,out]rtmassmass of fine roots [g/m2]
[in,out]stmassstem mass [g/m2]
[in,out]woodmass of wood (incl. woody roots) [g/m2]
[in,out]stblcpstable carbon in deep soil [g/m2]
[in,out]fastcpshort-lived carbon, shallow soil [g/m2]
[in,out]laileaf area index [-]
[in,out]saistem area index [-]
[in,out]graingrain mass [g/m2]
[in,out]gddgrowing degree days
[in,out]pgsplant growing stage [-]
[out]neenet ecosys exchange (g/m2/s co2)
[out]gppnet instantaneous assimilation [g/m2/s c]
[out]nppnet primary productivity [g/m2/s c]

Definition at line 419 of file module_sf_noahmplsm.F90.

References albedo(), atm(), carbon(), carbon_crop(), energy(), error(), phenology(), precip_heat(), and water().

Referenced by noahmpdrv_run().

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