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

Integrate actinia stac collections #124

Merged
merged 7 commits into from
Nov 18, 2021
Merged

Conversation

mmacata
Copy link
Collaborator

@mmacata mmacata commented Nov 17, 2021

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

STAC collection:
stac

There are some differences in attributes but I decided to not use the CollectionInformation. See more detailed explanation why in comment in src/openeo_grass_gis_driver/collection_information.py

@mmacata mmacata requested a review from metzm November 17, 2021 17:51
Copy link
Collaborator

@marcjansen marcjansen left a 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/collection_information.py Outdated Show resolved Hide resolved
src/openeo_grass_gis_driver/collections.py Outdated Show resolved Hide resolved
src/openeo_grass_gis_driver/collections.py Outdated Show resolved Hide resolved
try:
license = i['license']
except Exception:
license = "proprietary"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or unknown? You decide.

Copy link
Collaborator Author

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.

mmacata and others added 6 commits November 18, 2021 12:54
…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>
@mmacata
Copy link
Collaborator Author

mmacata commented Nov 18, 2021

I don't know why the codeql checks keep staying in pending. I will merge now, in the actions overview it looks fine.

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

Successfully merging this pull request may close these issues.

None yet

3 participants