MeteorologyInterpolationData: Creates an object of class 'MeteorologyInterpolationData'

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

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).

Usage

1
2
3
4
5
6
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())

Arguments

points

An object of class SpatialPointsMeteorology, an object of SpatialPointsTopography or an object of class SpatialPoints (see 'Details”).

elevation

A numeric vector with elevation values of weather stations (in meters).

slope

A numeric vector with slope values of weather stations (in degrees). Needed for cross-validation of interpolation routines.

aspect

A numeric vector with aspect values of weather stations (in degrees from North). Needed for cross-validation of interpolation routines.

MinTemperature

A matrix with minimum temperature recordings (in degrees Celsius) for all weather stations (in rows) and all days (in columns).

MaxTemperature

A matrix with maximum temperature recordings (in degrees Celsius) for all weather stations (in rows) and all days (in columns).

Precipitation

A matrix with precipitation recordings (in mm of water) for all weather stations (in rows) and all days (in columns).

RelativeHumidity

A matrix with (mean) relative humidity recordings (in percent) for all weather stations (in rows) and all days (in columns).

Radiation

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.

WindSpeed

A matrix with wind speed recordings (in m/s) for all weather stations (in rows) and all days (in columns).

WindDirection

A matrix with wind direction recordings (in degrees from North) for all weather stations (in rows) and all days (in columns).

WindFields

Object of class "list". See function readWindNinjaWindFields.

params

A list containing interpolation parameters.

Details

There are three ways of building an object of MeteorologyInterpolationData:

  1. 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.

  2. The second way is using an object of class of SpatialPointsTopography containing the coordinates of stations and topographic variables. In this case parameters MinTemperature, MaxTemperature and Precipitation will need to be supplied, each being a matrix with weather stations in rows and days in columns, but RelativeHumidity to WindDirection may be left as NULL.

  3. 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, MaxTemperature and Precipitation will need to be supplied, each being a matrix with weather stations in rows and days in columns, but RelativeHumidity to WindDirection may be left as NULL.

Value

An object of class MeteorologyInterpolationData.

Author(s)

Miquel De Cáceres Ainsa, Biodiversity and Landscape Ecology Laboratory, Centre Tecnologic Forestal de Catalunya

References

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–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–251. doi:10.1016/S0022-1694(96)03128-9.

See Also

MeteorologyInterpolationData, defaultInterpolationParams.

Examples

1
## TO BE DONE ##

miquelcaceres/meteoland documentation built on May 8, 2019, 11:57 p.m.