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
In looking through the output_geobox function, it looks like the incoming anchor argument is never used. Is it possible that L968 should be changed from:
anchor = _anchor
to something like this?
anchor = anchor if anchor else _anchor
Versions, hardware
odc-stac==0.3.9
odc-geo==0.4.3
Tested with Python 3.9 and 3.11.
Apple M1 (arm64)
The text was updated successfully, but these errors were encountered:
Problem
In
odc-stac
version 0.3.9,odc.stac.load
is overriding ananchor
argument value ofAnchorEnum.CENTER
with theAnchorEnum.EDGE
value.Minimal Example
This is illustrated in a Jupyter notebook accessing some simple STAC Items at https://github.com/pjhartzell/data-gap/blob/main/anchor.ipynb.
Potential solution
In looking through the
output_geobox
function, it looks like the incoming anchor argument is never used. Is it possible that L968 should be changed from:anchor = _anchor
to something like this?
anchor = anchor if anchor else _anchor
Versions, hardware
odc-stac==0.3.9
odc-geo==0.4.3
Tested with Python 3.9 and 3.11.
Apple M1 (arm64)
The text was updated successfully, but these errors were encountered: