rast_spec: Return raster grid of variable for a time period

Description Usage Arguments Value Examples

Description

Return raster grid of variable for a time period

Usage

1
rast_spec(input, spec, hour)

Arguments

input

An open ncdf4 object.

spec

Full species name (4 chars) including spaces.

hour

Hour (1-24) to return

Value

Raster grid of species concentration.

Examples

1
2
3
4
5
6
7
8
library(ncdf4)
library(raster)
tfile <- system.file("extdata","aust_20140212_nat_0.800dg_morw.nc",package="raaqfs")
mydata <- nc_open(tfile)
tra <- rast_spec(mydata,"EC25",1) 
plot(tra)
library(maps)
map("world",add=TRUE)

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