-
Notifications
You must be signed in to change notification settings - Fork 6
Description
I'm just wondering why we had added extent and values to the variables in the first place, IMHO they don't make sense here unless I'm missing something. In the dimensions they are the dimension labels, e.g. in the time dimension the timestamps, the coordinates for x and y and for bands the band names/indices.
What's the purpose in variables? Variables consist of dimensions and as such the dimension labels are defined there. I first thought it might describe values in the array itself, but that would only work really for the extent as otherwise in values you'd need to list ALL values in the (multidimensional) array, which is actually not allowed. values is a one-dimensional array.
I feel like it makes more sense to remove extent and values and replace it with statistics.
To make it less breaking, we could deprecate the extent and values property first, and recommend statistics instead.