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

Location GCMD Checks #86

Closed jenny-m-wood closed 2 years ago

jenny-m-wood commented 3 years ago

Describe the bug The GCMD checks for the following DIF10 fields appear to be missing: Location_Category Location_Type Location_Subregion1 Location_Subregion2 Location_Subregion3

To Reproduce Steps to reproduce the behavior:

  1. Go to the test_cmr_metadata.dif10 file
  2. Modify the fields listed above so that they are populated with random characters (e.g. jkfdpoan)
  3. Run py main.py --fake FAKE --format dif10
  4. See that no error is provided

Expected behavior Expected to see an Error message stating that the location keyword provided does not comply with GCMD.

spa0002 commented 2 years ago

"Runs as expected Hierarchy is checked"