View source: R/oceanTime_GetTimes.R
oceanTime_GetTimes | R Documentation |
Function to get a dataframe of ocean_times associated with files in a folder.
oceanTime_GetTimes(
path,
pattern,
ref = as.POSIXct("1900-01-01 00:00:00", tz = "GMT"),
verbose = FALSE
)
path |
- path to folder with model output files |
pattern |
- pattern for model output filenames (e.g. "avg_*.nc") |
ref |
- calendar reference (default = "1900-01-01 00:00:00") |
verbose |
- flag to print extra information |
Numeric values for ocean_times are in seconds relative to the calendar reference date.
Dataframe with filename, ocean_time (in seconds), and ocean_date (POSIXct dates) as columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.