terraincoef | R Documentation |
Function to compute terrain influencing factor
terraincoef(climatedata, lat, long, pai, slope, aspect, merid = 0, dst = 0)
lat |
the latitude of the location (decimal degrees) |
long |
the longitude of the location (decimal degrees) |
pai |
the total one sided area of canopy elements per unit ground area (see details) |
slope |
the slope of the underlying ground surface (decimal degrees). Ignored if |
aspect |
the aspect of the underlying ground surface (decimal degrees). Ignored if |
merid |
an optional numeric value representing the longitude (decimal degrees) of the local time zone meridian (0 for GMT) |
dst |
an optional numeric value representing the time difference from the timezone meridian (hours, e.g. +1 for BST if merid = 0). |
climdata |
a dataframe of hourly weather data formated and with units
as per the internal dataset |
a single numeric value giving a terrain influencing factor
# Compute influencing factor of an inclined surface iH<-terraincoef(climatedata,50.2178,-5.32656,1,30,180) # Compute influencing factor of a flat surface iRef<-terraincoef(climatedata,50.2178,-5.32656,1,0,0) # Compute ratio iR<-iH/iRef iR
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.