fvcom_nav: Retrieve the navigation elements, start and count, for...

View source: R/nc.R

fvcom_navR Documentation

Retrieve the navigation elements, start and count, for extracting slabs of data.

Description

Retrieve the navigation elements, start and count, for extracting slabs of data.

Usage

fvcom_nav(
  x,
  vals = c(0, 1),
  what = c("siglay", "time", "siglev")[1],
  indexed = FALSE
)

Arguments

x

FVCOM ncdf4 object

vals

two element numeric or POSIXct, start and stop values

what

character, one of the objects dimension names

indexed

logical, if TRUE then siglay and time are 1-based indices, but if FALSE then siglay and time are actual values to be located.

Value

two element vector of start and count


BigelowLab/fvcom documentation built on Nov. 8, 2024, 2:24 p.m.