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

Generalise eo3-compatible product handling in materialised view definition #996

Merged
merged 3 commits into from
Mar 12, 2024

Conversation

SpacemanPaul
Copy link
Contributor

@SpacemanPaul SpacemanPaul commented Mar 12, 2024

The space materialised view definition previously required all supported metadata types to be explicitly included in the view definition. A catch-all has been added for all metadata types starting with eo3_.

Note that a non-eo3-compatible metadata type with a name starting with eo3_ will now break OWS, but this is better than any metadata type with a name not in a whitelist breaking OWS.

Also fixes a bug in WMTS - exposed by more thorough WMTS validation in newer versions of OWSLib. (Dimension sections in Capabilities documents did contain a Default section, which is required by the standard.


📚 Documentation preview 📚: https://datacube-ows--996.org.readthedocs.build/en/996/

Copy link
Contributor

@robbibt robbibt left a comment

Choose a reason for hiding this comment

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

Hi @SpacemanPaul, looks great to me - this should catch our Intertidal metadata type (named "eo3_intertidal").

Copy link

@matt-fry-ga matt-fry-ga left a comment

Choose a reason for hiding this comment

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

The eo3 change looks fine.
I'm not across the wmts fix, I'll trust this is fine.

@SpacemanPaul SpacemanPaul merged commit 6050173 into master Mar 12, 2024
10 checks passed
@SpacemanPaul SpacemanPaul deleted the eo3_generalised_in_mvs branch March 12, 2024 02:21
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.

3 participants