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

New plugin for EPOS data portal (production) API #207

Merged
merged 122 commits into from
Oct 15, 2024
Merged

Conversation

orviz
Copy link
Contributor

@orviz orviz commented Aug 21, 2024

New plugin tailored to the schema used by the API of EPOS data portal. It reuses most of the implementation of the existing EPOS plugin, which is targeted to the DT-GEO prototype API.

orviz added 30 commits May 23, 2024 09:07
2) Homogenization of the metadata values: resulting in a common format and type in order to facilitate further processing.
3) Validation of the metadata values: with respect to well-known, standarized vocabularies.

Input parameters:
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think I understand, but I guess I need further explaination

- 'term_id' (required, str): shall correspond to the name of the configuration parameter (within plugin's config.ini) containing the metadata terms.
- 'validate' (optional, boolean): triggers the validation of the gathered metadata values for each of those metadata terms.

Outputs:
Copy link
Collaborator

Choose a reason for hiding this comment

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

I like the approach. How the qualifiers are managed?

_values = cls._get_identifiers_metadata(element_values)
elif element == "Data Identifier":
_values = cls._get_identifiers_data(element_values)
elif element == "Temporal Coverage":
Copy link
Collaborator

Choose a reason for hiding this comment

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

This will not be present in any single repository. Is it "mandatory"?

@orviz orviz merged commit c603990 into main Oct 15, 2024
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.

2 participants