Unclear error message when using sdate in the file wildcard, and sdate is also a dimension of the provided time values
Hi, when running a very similar case of example 2 (https://earth.bsc.es/gitlab/es/startR/-/blob/master/inst/doc/usecase/ex1_2_exp_obs_attr.R), I used
sdate instead of
date in the observations wildcard (and subsequent startR call), and I got an error:
Error in Start(sdate = unique(format(vdates, "%Y%m")), time = values(vdates), : Size of selector file dimensions must mach size of requested variable dimensions.
The error is unclear, and probably the problem comes from the fact that
sdate is already a dimension name of the
vdates array that is used to define times to select in
Maybe we should document that the wildcard of the observations cannot be the same used for the model in this example.