-
Notifications
You must be signed in to change notification settings - Fork 9
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
Integrate actinia stac collections #124
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Some tiny remarks, please take from them what you agree with.
src/openeo_grass_gis_driver/actinia_processing/actinia_interface.py
Outdated
Show resolved
Hide resolved
src/openeo_grass_gis_driver/actinia_processing/actinia_interface.py
Outdated
Show resolved
Hide resolved
src/openeo_grass_gis_driver/actinia_processing/actinia_interface.py
Outdated
Show resolved
Hide resolved
src/openeo_grass_gis_driver/actinia_processing/actinia_interface.py
Outdated
Show resolved
Hide resolved
try: | ||
license = i['license'] | ||
except Exception: | ||
license = "proprietary" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or unknown? You decide.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"proprietary" is currently the default in the existing implementation, so I would rather not change it.
…ce.py Co-authored-by: Marc Jansen <jansen@terrestris.de>
…ce.py Co-authored-by: Marc Jansen <jansen@terrestris.de>
Co-authored-by: Marc Jansen <jansen@terrestris.de>
…ce.py Co-authored-by: Marc Jansen <jansen@terrestris.de>
…ce.py Co-authored-by: Marc Jansen <jansen@terrestris.de>
I don't know why the codeql checks keep staying in pending. I will merge now, in the actions overview it looks fine. |
With the implementation of actinia-stac-plugin and this PR, it is now possible to also request STAC collections registered in actinia. They will be integrated in the collections list and can be requested by id.
For this feature to work, actinia needs to be installed with the actinia-stac-plugin. If it is not installed, the STAC collections are simply not included in the
/collections
response (like before)."Normal" STRDS:
![strds](https://user-images.githubusercontent.com/8308401/142254554-6ee32e71-b19f-43d4-a0df-86605773e2d0.jpeg)
STAC collection:
![stac](https://user-images.githubusercontent.com/8308401/142254550-d8341e58-0e70-42ab-8d6c-12e57d006417.jpeg)
There are some differences in attributes but I decided to not use the
CollectionInformation
. See more detailed explanation why in comment insrc/openeo_grass_gis_driver/collection_information.py