NASA-IMPACT / pyQuARC

The pyQuARC tool reads and evaluates metadata records with a focus on the consistency and robustness of the metadata. pyQuARC flags opportunities to improve or add to contextual metadata information in order to help the user connect to relevant data products. pyQuARC also ensures that information common to both the data product and the file-level metadata are consistent and compatible. pyQuARC frees up human evaluators to make more sophisticated assessments such as whether an abstract accurately describes the data and provides the correct contextual information. The base pyQuARC package assesses descriptive metadata used to catalog Earth observation data products and files. As open source software, pyQuARC can be adapted and customized by data providers to allow for quality checks that evolve with their needs, including checking metadata not covered in base package.
Apache License 2.0
19 stars 0 forks source link

Standard product check #285

Closed binni979 closed 2 months ago

binni979 commented 2 months ago

This is the pull request to solve this issue.

Overview: In the pyQuarc, while running the collection, it showed the warning message like this:

Screenshot 2024-04-29 at 9 57 31 AM

Changes made: Added a standard_product_check function in the custom_validator file according to the rule mapping.json and check message.json. Both JSON uses the standard_product_check function but the function was not created. Now, no error is shown. Tested on this ' C1577484501-LARC_ASDC' (umm-c) collection to make sure the if the warning shows up.