extractFromNc: extractFromNc get data from a .nc file

Description Usage Arguments Value

View source: R/extractFromNc.R

Description

extractFromNc get data from a .nc file

Usage

1
2
3
extractFromNc(file, data.variable, lat.varname = NULL, lon.varname = NULL,
  timeseries = NULL, time.varname = NULL, depth.varname = NULL,
  depth.dimension = NULL, depth.touse = NULL)

Arguments

file

.nc file containing chlorophyll levels for the entire area of influence

data.variable

character string corresponding to the relevant data subset within the .nc file (defaults to "chlorophyll")

lat.varname

if automatic searching doesn't work, specify a particular variable name here

lon.varname

if automatic searching doesn't work, specify a particular variable name here

timeseries

manually extracted timeseries data as "Date" class, to override automatic extraction from file

time.varname

if automatic searching doesn't work, specify a particular variable name here

depth.varname

name of depth variable in .nc file, auto matching used if NULL

depth.dimension

if a depth dimension is present, specify which dimension it is. auto-matching used if NULL

depth.touse

if a depth dimension is present, specify which value to use. default NULL will use minimum available depth

Value

A data.table, containing variables for date and chlorophyll level


rossholmberg/pkgButterfly documentation built on March 19, 2018, 4:41 p.m.