You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
except the error to suggest code to define resolution
Actual behaviour
File /usr/local/lib/python3.8/dist-packages/datacube/utils/geometry/_base.py:1215, in bounding_box_in_pixel_domain(geobox, reference)
1212 tol = 1.e-8
1214 if reference.crs != geobox.crs:
-> 1215 raise ValueError("Cannot combine geoboxes in different CRSs")
1217 a, b, c, d, e, f, *_ = ~reference.affine * geobox.affine # type: ignore[misc]
1219 if not (numpy.isclose(a, 1) and numpy.isclose(b, 0) and is_almost_int(c, tol) # type: ignore[has-type]
1220 and numpy.isclose(d, 0) and numpy.isclose(e, 1) and is_almost_int(f, tol)): # type: ignore[has-type]
ValueError: Cannot combine geoboxes in different CRSs
Environment information
This was run in prod sandbox.
Datacube version: 1.8.12
Note: Stale issues will be automatically closed after a period of six months with no activity.
To ensure critical issues are not closed, tag them with the Github pinned tag.
If you are a community member and not a maintainer please escalate this issue to maintainers via GIS StackExchange or Slack.
The text was updated successfully, but these errors were encountered:
pindge
changed the title
ambiguous error message
unhelpful error message re virtual product
Apr 13, 2023
The following query on virtual product raises an unhelpful error:
VP definition:
Expected behaviour
except the error to suggest code to define
resolution
Actual behaviour
Environment information
The text was updated successfully, but these errors were encountered: