View source: R/helper_functions.R
rotate_cmip | R Documentation |
Rotate NetCDF files faster than the default raster rotate() command, as data is cropped before any translations (reducing memory load)
rotate_cmip(r = NULL, extent = c(-74, -65, 40, 48))
r |
CMIP raster layer, stack or brick |
extent |
vector with coordinates defining the region of interest defined as xmin, xmax, ymin, ymax in lat/lon (default = c(-74,-65, 40, 48)) |
Returns raster data in the same format (layer, stack, brick) as the input, but rotated from a climatological longitude (0 - 360) format to a normal longitude format (-180 to 180).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.