Learn R Programming

meteoland (version 0.9.7)

SpatialPixelsMeteorology-class: Class "SpatialPixelsMeteorology"

Description

An S4 class that represents meteorology data that has locations on a regular grid.

Arguments

Objects from the Class

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

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 pixel data for one date.

grid:

Grid parameters (see '>GridTopology).

grid.index:

Index of points in full grid.

coords:

Object of class "matrix" with the spatial coordinates.

bbox:

Object of class "matrix" with the boundary box.

proj4string:

Object of class "CRS" with the projection string.

Extends

Class "'>SpatialPixels", directly. Class "'>SpatialPoints", by class "SpatialPixels", distance 2. Class "'>Spatial", by class "SpatialPixels", distance 3.

Methods

[

signature(x = "SpatialPixelsMeteorology", i = "ANY", ..., drop = "ANY"): subsets the pixels and associated topography; only one dimension can be subsetted. If drop = TRUE the boundary box is recalculated.

coerce

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

coerce

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

spplot

signature(object = "SpatialPixelsMeteorology"): allows plotting maps.

See Also

SpatialPixelsTopography, SpatialPixelsDataFrame-class

Examples

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

Run the code above in your browser using DataLab