Description Usage Arguments Value
Get a raster
1 2 3 | CPCUGBDP_get_raster(X, what = "precip", time = 1, bb = X$BB,
crs = "+proj=longlat +datum=WGS84", flip = TRUE,
time_fmt = "D%Y%j")
|
X |
CPCUGBDPRefClass object |
what |
character one or more variable names |
time |
numeric vector either a 1-based indices or POSIXct timestamps.
If POSIXct then the layer at or just before the specified times are returned.
See |
bb |
a 4 element bounding box vector [left, right, bottom, top], defaults to [-180, 180, -90, 90] |
crs |
character, the coordiante reference system to apply |
flip |
logical if TRUE then flip the raster in the y direction |
time_fmt |
if multiple time layers are returned, this controls the layer names |
a raster::brick
or raster::layer
object or NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.