Error with CST_MergeDims - latest version
Hi,
I have an issue with CST_MergeDims, it's merging more dimensions than the ones I requested on the attributes. The checks might be wrong, and we found that the previous version of this function was more useful, because it didn't raise an error.
The data is here: "/esarchive/scratch/ptrascas/R/sunset/Obs_MergeDims.RDS"
and this is the line we're executing: test_obs <- CST_MergeDims(obs, c('syear', 'sweek'))
and the error we got at the beginning:
Error in dim(data$attrs$Dates) <- dim(data$data)[rename_dim] :
dims [product 54] do not match the length of object [216]
Cheers,
Paloma