fvcom_time: Get the time dimension values.

View source: R/nc.R

fvcom_timeR Documentation

Get the time dimension values.

Description

Note the the models are produced hourly, so we assume on the hour. To get the internally recorded hour set internal argument to TRUE.

Usage

fvcom_time(
  x,
  origin = as.POSIXct("1858-11-17 00:00:00", tz = "UTC"),
  internal = FALSE
)

Arguments

x

FVCOM ncdf4 object

origin

POSIXct start date

internal

logical, if TRUE use the internal times, otherwise assume on the hour

Value

vector of POSIXct times


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