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

load_stac: netcdf timeseries - extent inaccurate #284

Open
jdries opened this issue Apr 17, 2024 · 0 comments
Open

load_stac: netcdf timeseries - extent inaccurate #284

jdries opened this issue Apr 17, 2024 · 0 comments
Assignees

Comments

@jdries
Copy link
Contributor

jdries commented Apr 17, 2024

load_stac without specifying extent results in wrong extent, jobs:

Try to load in a STAC collection where the netCDF is in one of the items (j-2404172488c14135a8cd22c8c7aefa72)
Try to load in a STAC item that is directly downloaded from openeo batch job results (j-2404179510cd40939a9959d6ff46c3ac)

Example logging:

Writing netCDF to /data/projects/OpenEO/j-2404172488c14135a8cd22c8c7aefa72/openEO.nc with bands [S2-L2A-B01, S2-L2A-B02, S2-L2A-B03, S2-L2A-B04, S2-L2A-B05, S2-L2A-B06, S2-L2A-B07, S2-L2A-B08, S2-L2A-B8A, S2-L2A-B09, S2-L2A-B11, S2-L2A-B12, S2-L2A-SCL, S2-L2A-DISTANCE_TO_CLOUD], uint16ud32769, EPSG:32631, GridExtent(Extent(501819.77327986486, 5671290.266626977, 502469.77327986486, 5671940.266626977), CellSize(10.0,10.0), 65x65)

Problematic line of code:

Solution:
try using bounding boxes in raster crs, or if not available, do reprojection of polygon and then compute bbox in utm

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

3 participants