Previously odc.geo.math.data_resolution_and_offset() worked on netCDF4.Dimension objects. This is used e.g. in the develop-1.9 branch of datacube-core.
From v0.4.4 (as a result of #150) this no longer works - an attribute error is raised as values is not defined on the Dimension object.
Seems this is for detecting dask wrapped objects - is there a more tightly dask-focused way to do this check?
Previously
odc.geo.math.data_resolution_and_offset()
worked onnetCDF4.Dimension
objects. This is used e.g. in thedevelop-1.9
branch ofdatacube-core
.From v0.4.4 (as a result of #150) this no longer works - an attribute error is raised as
values
is not defined on theDimension
object.Seems this is for detecting dask wrapped objects - is there a more tightly dask-focused way to do this check?