Returns the variable names found in obs (e.g. as returned by
SticsRFiles::get_obs()), excluding metadata columns
(Date, situation, species, version,
Plant). This is how run_simulations derives the
variables to simulate when its vars argument isn't provided.
Useful to inspect that default list, or to extend it — e.g. to combine
the observed variables with extra ones (such as the balance closure
variables) into a single run_simulations call:
get_var_from_obs(obs)a list of observation data frames, one per USM, as returned
by SticsRFiles::get_obs()
a character vector of variable names
obs <- SticsRFiles::get_obs(usms_workspace, usm = usms)
vars <- c(get_var_from_obs(obs), balance_vars)
run_simulations(..., vars = vars)