stack_spec: Return raster stack of variable for a day.

Description Usage Arguments Value Examples

View source: R/stack_spec.r

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 23, 2017, 11:15 p.m.