netCDF_GetOceanTimes: Get ocean_times from a ROMS model netcdf file

View source: R/netCDF_GetOceanTimes.R

netCDF_GetOceanTimesR Documentation

Get ocean_times from a ROMS model netcdf file

Description

Function to get ocean_times from a ROMS model netcdf file.

Usage

netCDF_GetOceanTimes(netcdf, verbose = FALSE)

Arguments

netcdf

- path to ROMS model netcdf file (or previously opened connection)

verbose

- flag (T/F) to print diagnostic info

Details

Dates associated with ocean_times are relative to the model reference date determined by parsing the units associated with the ocean_time dimension in the netcdf dataset.

Value

tibble (dataframe) with columns ocean_times (in seconds since model origin) and dates (POSIXct dates), or NULL if file is invalid.


wStockhausen/wtsROMS documentation built on Feb. 2, 2025, 9:16 p.m.