NAMANL_get_raster: Get a raster for NAMANLRefClass

Description Usage Arguments Value

Description

Get a raster for NAMANLRefClass

Usage

1
2
3
NAMANL_get_raster(NC, what = NC$VARS[1], bb = NC$BB,
  crs = "+proj=longlat +datum=WGS84", flip = FALSE,
  time_fmt = "D%Y%j", ...)

Arguments

NC

NAMANLRefClass object

what

character one or more variable names or variable indices

bb

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

crs

character, the coordinate 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

...

further arguments to select the parameter by name

Value

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


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