Get observations for a given variable from an Aeme object
Arguments
- aeme
Aeme object.
- var_sim
character; variable in the AEME format (e.g. "HYD_temp"). Can be a vector. If missing, all variables are returned.
- depth_range
numeric vector of length 2; depth range (in meters) to filter observations. If NULL, all depths are returned.
- time_filter
logical; if TRUE, filter observations to the time range of the Aeme object. If FALSE, all observations are returned regardless of time.
Value
A data frame with the following columns:
Date: Observation date – a UTCPOSIXct; daily rows are anchored at 12:00:00var_aeme: Name of the variable in the AEME formatdepth: Nominal sampling depth (m, positive-down from the surface)value: Value of the variabledepth_to: (optional) Bottom of an integrated sample, if recordedsd: (optional) Measurement standard deviation, in the variable's units
