oceanTime_ConvertToNumeric: Convert ocean_times from character or POSIXct to numeric

View source: R/oceanTime_Convert.R

oceanTime_ConvertToNumericR Documentation

Convert ocean_times from character or POSIXct to numeric

Description

Function to convert ocean_times from character or POSIXct to numeric.

Usage

oceanTime_ConvertToNumeric(ot, ref = "1900-01-01 00:00:00")

Arguments

ot

- ocean_time, as character or POSIXct vector

ref

- calendar reference (default = "1900-01-01 00:00:00")

Details

Input numeric values associated with ocean_times should be a vector of character strings formatted as 'YYY-MM-DD HH:MM:SS' or POSIXct.

Value

Vector with ocean_times as numeric seconds since the reference date.


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