get_spec_list: Get species list from NetCDF file

Description Usage Arguments Value Examples

Description

Get species list from NetCDF file

Usage

1

Arguments

input

An open ncdf4 object.

Value

The vector of chemical species codes.

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)
species<-get_spec_list(mydata)
print(species)

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