-
Notifications
You must be signed in to change notification settings - Fork 16
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]: add resolution parameter? #445
Comments
Hmm, the preview image should be ignored, I think. It's just a preview. proj is not required in STAC so it might always happen that some STAC data can't be loaded. Ideally it's in the metadata though as otherwise you may need to specify it per asset (e.g. the S2 bands have different resolutions) and that quickly gets complicated. |
Note that it's indeed quite common for stac metadata to be incomplete. |
Does this solve the issue? If not, let me know an I can reopen. |
Hi @m-mohr, fine to close this for the moment. For some collections another workaround is to filter directly using the |
I'm trying to implement
load_stac
in openeo-processes-dask Open-EO/openeo-processes-dask#127.The main libraries we could use to perform the stac to xArray bridge are
stackstac
andodc-stac
.I'm currently using
stackstac
since it provides better support for metadata, but it would be possible to useodc-stac
as well without much effort.I'm currently facing this issue, which occurs if a STAC Collection and Items are valid but do not provide enough details to establish automatically the data resolution:
I am currently testing against https://planetarycomputer.microsoft.com/api/stac/v1/collections/sentinel-2-l2a
I was wondering if this is a common scenario. Is the proj extension is mandatory or not?
If not, would it make sense to allow to pass a resolution parameter to overcome this?
cc @soxofaan @m-mohr @LukeWeidenwalker
The text was updated successfully, but these errors were encountered: