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
20 stars 1 forks source link

DIF10: Single_DateTime Not Fulfilling Temporal Requirements #151

Closed svbagwell closed 2 years ago

svbagwell commented 3 years ago

Describe the bug When the Single_DateTime field is provided and populated, pyQuARC is giving an info message stating that the temporal requirements are not met

To Reproduce Steps to reproduce the behavior:

  1. In the fake DIF10 metadata file, remove Range_DateTime and its child fields and provide Single_DateTime (/DIF/Temporal_Coverage/Single_Date_Time)
  2. Provide a valid datetime in ISO format
  3. Run pyQuARC

Expected behavior pyQuARC will run with no errors for this field

Outputs Current output:

>> DIF/Temporal_Coverage/Single_Date_Time:
          Info: The Temporal requirements aren't met.
          Please provide at least one of SingleDateTime, RangeDateTime, PeriodicDateTime

Additional context N/A