get_ereefs_profile.RdSee also plot_ereefs_profile(), which relies on output from this function.
A vector of EMS variable names. Defaults to `c("Chl_a_sum", "TN")`.
Latitude and longitude of the location to extract.
Start of the extraction period. Can be a `Date`, `POSIXct`, character string, or a vector such as `c(year, month, day)`. Date-only inputs default to midday in `Etc/GMT-10`.
End of the extraction period, specified as for `start_date`.
NetCDF file path, OPeNDAP URL, or THREDDS catalog URI. THREDDS catalogs are preferred for live multi-file requests. Legacy menu-style shortcuts remain available for backward compatibility.
Optional alternative source for vertical grid metadata, or a precomputed grid list.
Legacy fallback for locating surface elevation (`eta`) when it is not in the main file.
Whether to reduce the dimensionality of the returned profile array when there is only one variable and/or one time step.
A list containing the time vector, surface elevation (`eta`), vertical grid (`z_grid`), bottom depth (`botz`), and extracted profile values.
Extracts one or more vertical profiles over a requested time period. For live catalog-backed workflows, the function resolves the required files and aligns times as closely as possible to the requested period.