BSW_get_raster: Get a raster for BlendedSeaWindsRefClass

Description Usage Arguments Value

Description

Get a raster for BlendedSeaWindsRefClass

Usage

1
2
3
BSW_get_raster(X, what = X$VARS[1], layer = 1, bb = X$BB,
  crs = "+proj=longlat +datum=WGS84", flip = TRUE,
  time_fmt = "D%Y%j")

Arguments

X

BlendedSeaWindsRefClass object

what

character one or more variable names or variable indices

layer

numeric vector either a 1-based indices or POSIXct timestamps

bb

a 4 element bounding box vector [left, right, bottom, top], defaults to [0, 360, -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

Value

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


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