stack_spec: Return raster stack of variable for a day.

Description Usage Arguments Value Examples

Description

Return raster stack of variable for a day.

Usage

1
stack_spec(input, spec)

Arguments

input

An open ncdf4 object.

spec

Full species name (4 chars) including spaces.

Value

RasterStack of concentration.

Examples

1
2
3
4
5
6
library(ncdf4)
library(raster)
tfile <- system.file("extdata","aust_20140212_nat_0.800dg_morw.nc",package="raaqfs")
mydata <- nc_open(tfile)
salt <- stack_spec(mydata,"SS25") 
animate(salt,pause=0.1,n=2)

ozjimbob/raaqfs documentation built on May 24, 2019, 5:56 p.m.