Read GOTM output
Usage
read_gotm_output(
nc = NULL,
vars_sim = NULL,
depths = NULL,
dates = NULL,
date_index = NULL,
incl_fluxes = FALSE,
output_hour = 0,
file
)Arguments
- nc
An object of class
ncdf4(as returned by either functionnc_openor functionnc_create), indicating what file to read from.- vars_sim
Variables to extract in the AEME format e.g. "HYD_temp"
- depths
Depths to extract. If NULL, extract all model layer depths. Defaults to NULL.
- dates
Dates to extract. If NULL, extract all dates. Defaults to NULL.
- date_index
Date index to extract. If NULL, extract all dates. Defaults to NULL.
- incl_fluxes
Logical indicating whether to include flux variables. Defaults to TRUE.
- output_hour
Hour of the day to extract (0-23). Defaults to 0.
- file
File path to netCDF file. Only used if `nc` is NULL.
