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.
Motivation
The dependencies that are based on fields (not just checks) are not generic to all the checks. They change based on the fields supplied to the check. Thus, it doesn't work if it lives in checks.json (where it currently is).
The solution is to move those to rule_mapping.json where the users can add such dependencies based on the fields that are supplied.
Repercussions
Users now will have to add these kind of field based dependencies in the rule_mapping.json file/override by themselves.
@slesaad we will also need to update the readme file to reflect the changes regarding dependencies. This will allow people to write their own rules easily (without further modification of core implementation)
Motivation The dependencies that are based on fields (not just checks) are not generic to all the checks. They change based on the fields supplied to the check. Thus, it doesn't work if it lives in
checks.json
(where it currently is).The solution is to move those to
rule_mapping.json
where the users can add such dependencies based on the fields that are supplied.Repercussions Users now will have to add these kind of field based dependencies in the
rule_mapping.json
file/override by themselves.