Learn R Programming

meteoland (version 0.9.7)

SpatialGridMeteorology-class: Class "SpatialGridMeteorology"

Description

An S4 class that represents a spatial grid with meteorology daily data.

Arguments

Objects from the Class

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

Slots

dates:

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

data:

A vector of "data.frame" objects, each one containing the grid data for one date.

bbox:

Object of class "matrix" with the boundary box.

proj4string:

Object of class "CRS" with the projection string.

Extends

Class "'>SpatialGrid", directly. Class "'>Spatial", by class "SpatialGrid", distance 2.

Methods

[

signature(x = "SpatialGridMeteorology", i = "ANY", j = "ANY", drop = "ANY"): subsets the grid and associated meteorology; only rows (x values) and columns (y values) can be subsetted.

coerce

signature(x = "SpatialGridMeteorology", to = "STFDF"): coerces into a spacetime STFDF object.

coerce

signature(x = "SpatialGridMeteorology", to = "stars"): coerces into a stars object.

See Also

SpatialGridTopography, SpatialGridDataFrame-class

Examples

Run this code
# NOT RUN {
#Structure of the S4 object
showClass("SpatialGridMeteorology")
# }

Run the code above in your browser using DataLab