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

DIF10: Add error message for missing Platform Characteristic Data Type #142

Closed svbagwell closed 2 years ago

svbagwell commented 3 years ago

Is this a new check? Please describe the check and the field. </DIF/Platform/Characteristics/DataType>: If a platform characteristic data type is not provided, give users a warning message suggesting that they add one

Describe the checks in steps

  1. Check to see if a platform characteristic is provided (/DIF/Platform/Characteristics)
  2. If one is, check to see if a data type is provided
  3. If no data type is provided, output an error message that says "A characteristic data type is missing for the provided characteristic. Please provide a data type for the provided characteristic."

Is there a similar check already implemented? Please list the name of the check Characteristic Field Dependency Check

Additional context pyQuARC is already catching it when a platform characteristic data type is not provided, but no instructions for the user are being output