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
BUG: Whitespace error for 'Access_Constraints' in DIF records #234
Describe the bug
Sometimes pyQuARC provides an error message regarding how the "Access_Constraints" field should be only whitespace as it is "element-only".
To Reproduce
Steps to reproduce the behavior:
Run pyQuARC against this CMR record: C1236350906-GES_DISC
See error
Expected behavior
Theoretically there should be no error?
Outputs
Additional context
This particular file is a DIF 10.2 record, and access constraints was a text field in 10.2. It did not become a hierarchy until DIF 10.3
Wiki page for access constraints
the updated 10.2 schema also has this field as a hierarchy.
Because of this, any old DIF 10.2 metadata will need to comply, and cannot use this field as a free text field
Describe the bug Sometimes pyQuARC provides an error message regarding how the "Access_Constraints" field should be only whitespace as it is "element-only".
To Reproduce Steps to reproduce the behavior:
Expected behavior Theoretically there should be no error?
Outputs![image](https://user-images.githubusercontent.com/70609840/232606010-a25e52af-f29c-41d1-84d4-086d64509874.png)
Additional context This particular file is a DIF 10.2 record, and access constraints was a text field in 10.2. It did not become a hierarchy until DIF 10.3 Wiki page for access constraints