Read GOTM flux output
Arguments
- nc
An object of class
ncdf4(as returned by either functionnc_openor functionnc_create), indicating what file to read from.- file
File path to netCDF file. Only used if `nc` is 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.
