laifromhabitat: Derives leaf area index, leaf geometry and canopy height from...

View source: R/othertools.R

laifromhabitatR Documentation

Derives leaf area index, leaf geometry and canopy height from habitat

Description

laifromhabitat generates an hourly dataset for an entire year of leaf area index values, the ratio of vertical to horizontal projections of leaf foliage and canopy height from habitat.

Usage

laifromhabitat(
  habitat,
  lat,
  long,
  year,
  meantemp = NA,
  cvtemp = NA,
  rainfall = NA,
  cvrain = NA,
  wetmonth = NA
)

Arguments

habitat

a character string or numeric value indicating the habitat type. See habitats()

lat

a single numeric value representing the mean latitude of the location for which the solar index is required (decimal degrees, -ve south of the equator).

long

a single numeric value representing the mean longitude of the location for which the solar index is required (decimal degrees, -ve west of Greenwich meridian).

year

the year for which data are required.

meantemp

an optional numeric value of mean annual temperature (ºC) at reference height.

cvtemp

an optional numeric value of the coefficient of variation in temperature (K per 0.25 days) at reference height.

rainfall

an optional numeric value mean annual rainfall (mm per year)

cvrain

an optional numeric value of the coefficient of variation in raifall (mm per 0.25 days) at reference height.

wetmonth

an optional numeric value indicating which month is wettest (1-12).

Details

If no values of meantemp, cvtemp, rainfall, cvrain or wetmonth are provided, values are obtained from globalclimate(). Variable lai is derived by fitting a Gaussian curve parameters of which are climate and location-dependent. Functional fits were calibrated using MODIS data (see https://modis.gsfc.nasa.gov/data/).

Value

a list with the following items, (1) lai: hourly leaf area index values, (2) x: the ratio of vertical to horizontal projections of leaf foliage, (3) height: the heigbht of the canopy in metres and (4) obs_time: an object of class POSIXlt of dates and times coressponding to each value of lai.

See Also

lai(), leaf_geometry()

Examples

lxh <- laifromhabitat("Deciduous broadleaf forest", 50, -5.2, 2015)
lxh$height
lxh$x
plot(lxh$lai ~ as.POSIXct(lxh$obs_time), type = "l", xlab = "Month",
     ylab = "LAI", ylim = c(0, 6))

ilyamaclean/microclima documentation built on Oct. 31, 2023, 11:41 p.m.