When I switched to using cube.extract to apply perform the groupby instead of cube.slices that had the side-effect that the resultant cube was not transposed so the values returned by CubeInterface.values are in the wrong order. Since transposing requires the data to be in memory we now apply the transpose operation only when returning the values. This means that the order of coordinates in a HoloCube don't have to match the order of dimensions on the HoloCube.
When I switched to using
cube.extract
to apply perform the groupby instead ofcube.slices
that had the side-effect that the resultant cube was not transposed so the values returned byCubeInterface.values
are in the wrong order. Since transposing requires the data to be in memory we now apply the transpose operation only when returning the values. This means that the order of coordinates in a HoloCube don't have to match the order of dimensions on the HoloCube.