Preliminary version of days -> indices translation. Can't yet handle days shift in definition of Obs.
Much more clear version of code, thanks to Martin.