Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.2-incubating
-
None
Description
Dataset does not validate input parameter arrays on initialization. At the minimum it should validate that the received arrays have the proper shape.
The lats, lons, and times arrays should all be single dimensional arrays: len(lats.shape) == 1
The values array should be a three dimensional array: len(values.shape) == 3
The values array dimensions should match the shape of the corresponding lats, lons, and times arrays. In other words, the first dimension of the values array should be the same length as the times array, the second dimension should match the lats array, and the third dimension should match the lons array.