OISST_get_raster: Get a raster for OISSTRefClass

Description Usage Arguments Value

Description

Get a raster for OISSTRefClass

Usage

1
2
OISST_get_raster(NC, what = NC$VARS[1], time = 1, bb = NC$BB,
  crs = "+proj=longlat +datum=WGS84", flip = TRUE)

Arguments

NC

OISSTRefClass object

what

character one or more variable names or variable indices

time

numeric vector either a 1-based indices or POSIXct timestamps

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

Value

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


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