Hi @aho,
I have converted Season
function to work with n-dimensional arrays with named dimension by using Apply.
I have also converted the documentation to roxygen2 format. This implies that after generating the documentation using devtools::document(), the NAMESPACE should be corrected including all the functions that haven't the roxygen2 format (copy and paste the old NAMESPACE file version)
The merge request is WIP, until we decide when this n-dimensional arrays with named dimension should be used in all the s2dverification functions. We can consider reviewing the branch develop-multiApply.
Furhter discussions to take into account are: the name of the parameters: 'var' or 'data' (as in ClimProjDiags and Start output), 'posdim' default for 'time'.
I have included a lot of tests. Maybe you want to see them for your own developments.
Cheers,
Núria