Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data_resolution_and_offset no longer works on netcdf4.Dimension objects #169

Open
SpacemanPaul opened this issue Jul 3, 2024 · 0 comments
Assignees

Comments

@SpacemanPaul
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant