nc_get_table: Retrieve a table of dimensions and variables by name....

View source: R/nc.R

nc_get_tableR Documentation

Retrieve a table of dimensions and variables by name. Dimensions and variables must have same length.

Description

Retrieve a table of dimensions and variables by name. Dimensions and variables must have same length.

Usage

nc_get_table(
  x,
  dnames = "time",
  vnames = c("conductivity", "temperature", "salinity", "sigma_t"),
  form = c("table", "tsibble")[1],
  ...
)

Arguments

x

ncdf4 class object

dnames

character, the name of the dimensions to retrieve

vnames

character, the name of the variables to retrieve

form

character either "table" (default) or "tsibble" the default table is a tibble.

...

other arguments for nc_get_var

Value

table of dimensions and variables


BigelowLab/neracoos documentation built on Feb. 13, 2024, 9 a.m.