readFluxdata | R Documentation |
Reads fluxnet data, calculates daily cuantities, including evapotranspiration. VPD, air temperature, and netrad use the daily daytime, albedo and snowmelt are still in experimental stage, the function takes only positive latent heat to compute actual evapotranspiration, the function works for the fluxnet tier 1-2 datasets, ameriflux and europa flux.
readFluxdata(filename, elev)
filename: |
location of the csv file with subdaily data |
elev: |
elevation in m.a.s.l. |
xts dataframe with the following variables:
aet
: actual evapotranspiration (mm/day)
pet
: potential evapotranspiration (mm/day)
eeq
: equilibrium evapotranspiration (mm/day)
tc
: daily daytime air temperature (C)
SW_in
: daily incoming shortwave (W/m^2)
pn
: daily precipitation (mm/day)
sm
: daily soil moisture (volumetric
netr
: daily daytime net radiation (MJ/day)
VPD
: daily daytime vapour pressure deficit (Pa)
VPD_SA
: daily daytime vapour pressure deficit surface-air (Pa)(calculated using Tsurf, measured or inferred from LW)
CO2
: daily daytime CO2 concentration (ppm)
GPP
: daily GPP (gC/m^2/day)
snowmelt
: daily snowmelt (mm/day)—experimental
alb
: daily median albedo —experimental
cond
: daily condensation (mm/day) —experimental, negative LE migth mean refreezing
readFluxdata(filename,elev)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.