sgdf2clim | R Documentation |
Convert a SpatialGridDataFrame (package sp) to a C4R climatological grid
sgdf2clim(
sp,
varName = NULL,
level = NULL,
dates = list(start = NULL, end = NULL),
season = NULL,
attr.list = NULL
)
sp |
A SpatialGridDataFrame-class object, as returned by function |
varName |
Character with the variable name for the resulting grid. |
level |
Character with the level for the resulting grid. |
dates |
Named list of the form: list(start = NULL, end = NULL), for the resulting grid. Dates as POISXct vectors. |
attr.list |
Key-value list of additional attributes to be included in the output grid as metadata. |
seasons |
Integer vector defining the grid season |
A C4R climatological grid (i.e.: time dimension is a singleton), with the metadata specified by the input arguments.
M. Iturbide, J. Bedia
clim2sgdf
, that performs the inverse operation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.