Get variable indices
get_var_indices.Rd
Get variable indices for an AEME variable.
Arguments
- nc
An object of class
ncdf4
(as returned by either functionnc_open
or functionnc_create
.- model
vector; of models to be used. Can be `dy_cd`, `glm_aed`, `gotm_wet`.
- aeme
aeme; object.
- path
filepath; where input files are located relative to `config`.
- month
numeric; vector of months to subset the data.
- depth_range
numeric; vector of depth ranges, length two to subset the data.