The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
REddyProc
package included several utility functions
that were somewhat out of the package scope. These functions are removed
from package.
This vignette shows how to replace them by functions from the
bigleaf
package.
if (!require("bigleaf", quietly = TRUE)) stop(
"bigleaf package must be installed to create this vignette.")
library(REddyProc)
Vapour pressure deficit (VPD) was computed with REddyProc in \(hPa\) from relative humidity in \(\%\) and air temperature in \(^{\circ}C\).
bigleaf
package computes VPD in \(kPa\) and requires relative humidity as
fraction .
Saturation vapor pressure (SVP) or eSat in \(hPa\) was computed from air temperature.
is replaced by Esat.slope
which uses \(kPa\) as pressure unit:
## [1] 12.26030 17.01672 23.32596 31.60057
Actual vapor pressure (AVP) or e in \(hPa\) was also computed from Vapor mole fraction (VMF) in \(mol/mol\) and pressure in \(hPa\).
There is no replacement function, as this is just the multiplication of the two arguments.
## [1] 10 15 20 25 30
Relative humidity (rH) in \(\%\) was computed from AVP in \(hPa\) and temperature.
Again this is replaced by a function using pressure units \(kPa\) and relative humidity as fraction.
## [1] 0.0000 15.8225 31.6450 47.4675 63.2900 79.1125 94.9350
The corresponding bigleaf function LE.to.ET
returns a
value in kg/m2/s. This needs to be converted to mmol/m2/s as returned by
the former fCalcETfromLE
.
## [1] 6.819916 7.956569 9.093222 10.229874 11.366527
Photon flux density (PPFD) of visible light can be computed from energy in incoming radiation
bigleaf
function Rg.to.PPFD
combines the
two former REddyProc functions fConvertVisibleWm2toPhotons
and fConvertGlobalToVisible
.
## [1] 460
The PPFD of light including non-visible parts, i.e. former
fConvertVisibleWm2toPhotons
, is obtained by setting
argument frac_PAR
to 1.
## [1] 920
Potential radiation (\(W m^{-2}\)) depends on time and geo-location.
Formerly, REddyProc provided:
This is replaced by bigleaf:
## [1] 1.722378 48.072563 95.193985 142.957488 191.232157 239.885672
Extraterrestrial solar radiation was formerly computed by REddyProc by:
This is replaced by bigleaf:
## [1] 1324.598
Required computation of sun position
(computeSunPosition
) and difference between apparent local
time time and time zone time
(computeSolarToLocalTimeDifference
) have been moved to
package solartime
.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.