CPCUGBDPRefClass_get_raster: Get a raster

Description Arguments Value

Description

Get a raster

Arguments

what

character one or more variable names

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. If POSIXct then the layer at or just before the specified times are returned. See findInterval for details. Must resolve to contiguous ascending indices.

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

Value

a raster::brick or raster::layer object or NULL


btupper/spnc documentation built on May 13, 2019, 8:44 a.m.