NARRRefClass_get_raster: Retrieve a raster, possibly a cropped

Description Usage Arguments Value

Description

Retrieve a raster, possibly a cropped

Usage

1
2
NARR_get_raster(X, bb = NULL, time = 1, what = NULL,
  crs = raster::projection(X$R), flip = FALSE)

Arguments

X

NARRRefClass object

bb

a 4 element bounding box vector [left, right, bottom, top], defaults to [-180, 180, -90, 90]

time

numeric vector either a 1-based indices or POSIXct timestamps

what

ignored

crs

character, the coordinate reference system to apply

flip

logical if TRUE then flip the raster in the y direction

Value

a raster::RasterBrick or raster::RasterLayer object or NULL


BigelowLab/spnc documentation built on May 5, 2019, 2:45 p.m.