Initializes an object for meteorology interpolation over landscapes using weather station data and the methods described in Thornton et al. (1997) and Thornton & Running (1999).
MeteorologyInterpolationData(points, elevation = NULL, slope = NULL, aspect = NULL,
MinTemperature = NULL, MaxTemperature = NULL,
Precipitation = NULL, RelativeHumidity = NULL,
Radiation = NULL, WindSpeed = NULL,
WindDirection = NULL, WindFields = NULL,
params = defaultInterpolationParams())
An object of class SpatialPointsMeteorology
, an object of SpatialPointsTopography
or an object of class SpatialPoints
(see 'Details'').
A numeric vector with elevation values of weather stations (in meters).
A numeric vector with slope values of weather stations (in degrees). Needed for cross-validation of interpolation routines.
A numeric vector with aspect values of weather stations (in degrees from North). Needed for cross-validation of interpolation routines.
A matrix with minimum temperature recordings (in degrees Celsius) for all weather stations (in rows) and all days (in columns).
A matrix with maximum temperature recordings (in degrees Celsius) for all weather stations (in rows) and all days (in columns).
A matrix with precipitation recordings (in mm of water) for all weather stations (in rows) and all days (in columns).
A matrix with (mean) relative humidity recordings (in percent) for all weather stations (in rows) and all days (in columns).
A matrix with relative radiation recordings (in MJ/m2) for all weather stations (in rows) and all days (in columns). Needed for cross-validation only.
A matrix with wind speed recordings (in m/s) for all weather stations (in rows) and all days (in columns).
A matrix with wind direction recordings (in degrees from North) for all weather stations (in rows) and all days (in columns).
Object of class "list"
. See function readWindNinjaWindFields
.
A list containing interpolation parameters.
There are three ways of building an object of '>MeteorologyInterpolationData
:
The first way is using an object of '>SpatialPointsMeteorology
containing both the coordinates and meteorological series of stations. In this case elevation
has to be provided, but aspect
and slope
may be ommitted. Parameters MinTemperature
to WindDirection
can be left as NULL
.
The second way is using an object of class of SpatialPointsTopography
containing the coordinates of stations and topographic variables. In this case parameters MinTemperature
and MaxTemperature
will need to be supplied, each being a matrix with weather stations in rows and days in columns, but Precipitation
, RelativeHumidity
, Radiation
, WindSpeed
and WindDirection
may be left as NULL
.
The third way is using an object of SpatialPoints
containing the coordinates of stations only. In this case elevation
has to be provided, but aspect
and slope
may be ommitted. As in the second case, parameters MinTemperature
and MaxTemperature
will need to be supplied, each being a matrix with weather stations in rows and days in columns, but other variables may be left as NULL
.
Thornton, P.E., Running, S.W., 1999. An improved algorithm for estimating incident daily solar radiation from measurements of temperature, humidity, and precipitation. Agric. For. Meteorol. 93, 211<U+2013>228. doi:10.1016/S0168-1923(98)00126-9.
Thornton, P.E., Running, S.W., White, M. a., 1997. Generating surfaces of daily meteorological variables over large regions of complex terrain. J. Hydrol. 190, 214<U+2013>251. doi:10.1016/S0022-1694(96)03128-9.
'>MeteorologyInterpolationData
, defaultInterpolationParams
.
# NOT RUN {
## TO BE DONE ##
# }
Run the code above in your browser using DataLab