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

Test file missing (as per README) #233

Open NISH1001 opened 1 year ago

NISH1001 commented 1 year ago

Describe the bug

While running the command mentioned in the README ▶ python pyQuARC/main.py --file "tests/fixtures/test_cmr_metadata.echo10", the test file test_cmr_metadata.echo10 doesn't exist in the tests/fixtures directory.

To Reproduce Steps to reproduce the behavior:

  1. Setup pyQuARC from scratch in a venv
  2. Run the command ▶ python pyQuARC/main.py --file "tests/fixtures/test_cmr_metadata.echo10"

Expected behavior Expected to at least throw some output running the pyQuARC

Question: Can I run other test files through pyQuARC?


cc: @slesaad @xhagrg

slesaad commented 1 year ago

Need to update the README, but try

python pyQuARC/main.py --file "tests/fixtures/test_cmr_metadata.echo-c"

The files have been renamed, but apparently the README not updated!

smk0033 commented 1 month ago

@xhagrg I can update the readme for this, I see the lines with .echo10 that can be updated to echo-c instead