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.
Describe the bug
The Project Date Logic Check for /DIF/Project/End_Date is not working.
To Reproduce
Steps to reproduce the behavior:
In the fake dif10 metadata file, add Project/Start_Date and Project/End_Date fields.
Make the date in the End_Date field earlier than the date in the Start_Date field (ex:
` 2021-12-212012-12-21`
Run python main.py --fake FAKE --format dif10
Expected behavior
It should output an error for /DIF/Project/End_Date as the end date should be later than the start date.
Ex:
error - Recommend updating the Project Start/End Dates so that the Start Date occurs before the End Date
Describe the bug The Project Date Logic Check for /DIF/Project/End_Date is not working.
To Reproduce Steps to reproduce the behavior:
Expected behavior It should output an error for /DIF/Project/End_Date as the end date should be later than the start date. Ex: error - Recommend updating the Project Start/End Dates so that the Start Date occurs before the End Date
Outputs
Additional context