TreeMig Code
Loading...
Searching...
No Matches
GetEnvFactors.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine getenvfactors (year, lat, lon, ddegs, wtemp, drstr, avnit, brwpr, disturb, germdrought)
 GetEnvFactors.
 

Function/Subroutine Documentation

◆ getenvfactors()

subroutine getenvfactors ( integer, intent(in) year,
integer, intent(in) lat,
integer, intent(in) lon,
real, intent(out) ddegs,
real, intent(out) wtemp,
real, intent(out) drstr,
real, intent(out) avnit,
real, intent(out) brwpr,
real, intent(out) disturb,
real, intent(out) germdrought )

GetEnvFactors.


Gets bioclimate (DD, WiT, DrStr) and optional other environmental factors for this cell that have been read in before and are stored in oldBioClim. If the cell is not stockable, i.e. DD < 0, stockability is also set to 0.

  • USE: All_par
  • IN:
    • Parameters
      year:current year (relative years)
      lat,lon: part of total simulation area currently simulated, e.g. for spin-up. Is not subarea of parallelisation!
    • FROM All_par:
      • includeEnv :LOGICAL : include environmental info for calcs?
      • envFromFile: LOGICAL : read environmental info from file?
      • stockability: REAL, dimension(:,:), allocatable : stockability, i.e. whether forests are prevented from growing by land use
      • oldBioClim: TYPE(BIOCLIMDATA) : bioclimdata for one year
  • OUT:
    • Parameters
      ddegs:REAL : current value in grid cell of day degree sum [>0, °C]
      wtemp:REAL: current value in grid cell of minimum winter temperature [°C]
      drstr:REAL: current value in grid cell of drought stress [0-1]
      avnit:REAL: current value in grid cell of available nutrients [>0, t/ha]
      brwpr:REAL: current value in grid cell of browsing pressure [0-30]
      disturb:REAL: current value in grid cell of disturbance intensity [0-1]
      germDrought:REAL: current value in grid cell of drought stress for germination [0-1]
  • CALLS:
    • GetBioClimSimple in GetBioClim.f90
  • CALLED FROM:

Definition at line 30 of file GetEnvFactors.f90.