An S4 class to conduct statistical correction of meteorology over a landscape.

Objects from the Class

Objects can be created by calls of the form new("MeteorologyUncorrectedData", ...), or by calls to the function MeteorologyUncorrectedData.

Slots

dates:

Object of class "Date" describing the time period for which meteorological estimates are possible.

bbox:

Object of class "matrix" with the boundary box that sets meteorological estimation boundaries.

proj4string:

Object of class "CRS" with the projection string of station spatial coordinates.

coords:

Object of class "matrix" containing the coordinates of weather stations (each row is a point).

reference_data:

Reference (historic) meteorological data used to calibrate correction factors when compared with observations. A vector of data frames (one per point) or a single data frame containing the meta data (columns dir and filename) of meteorological files that will be read from the disk. Alternatively, a NetCDF file name where points should be read.

projection_data:

Projection meteorological data to be corrected. A vector of data frames (one per point) or a single data frame containing the meta data (columns dir and filename) of meteorological files that will be read from the disk. Alternatively, a NetCDF file name where points should be read.

params:

A "list" containing correction parameters.

Extends

Class "MeteorologyProcedureData", directly. Class "Spatial", by class "MeteorologyProcedureData", distance 2

Methods

subsample

signature(object = "MeteorologyUncorrectedData"): Generates a MeteorologyUncorrectedData object for a smaller area and a subset of dates.

Author

Miquel De Cáceres Ainsa, CREAF

Examples

#Structure of the S4 object
showClass("MeteorologyUncorrectedData")
#> Class "MeteorologyUncorrectedData" [package "meteoland"]
#> 
#> Slots:
#>                                                                       
#> Name:           coords  reference_data projection_data          params
#> Class:          matrix             ANY             ANY            list
#>                                                       
#> Name:            dates            bbox     proj4string
#> Class:            Date          matrix             CRS
#> 
#> Extends: 
#> Class "MeteorologyProcedureData", directly
#> Class "Spatial", by class "MeteorologyProcedureData", distance 2