View source: R/oceanTime_FindFile.R
oceanTime_FindFile | R Documentation |
Function to find the file in which an input ocean_time is bracketed.
oceanTime_FindFile(
ocean_time,
dfr_files = NULL,
path = "",
pattern = "*.nc",
ref = as.POSIXct("1900-01-01 00:00:00", tz = "GMT"),
verbose = FALSE
)
ocean_time |
- time (in seconds relative to the calendar reference or as POSIXct date) |
dfr_files |
- dataframe with ocean times by file name (output from |
path |
- file 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 |
None.
One-row dataframe with columns:
ot,input ocean time (s)
date,associated date
fn,Name of model output file in which the input ocean_time is bracketed.
ts,lefthand bracketing time slice in file
bracket, bracketing times
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.