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: The iso_topic_category_check produces invalid error. #185

Closed jenny-m-wood closed 1 year ago

jenny-m-wood commented 2 years ago

Describe the bug The iso_topic_category_check with associated field "DIF/ISO_Topic_Category" produces an error even though the provided value is in the controlled vocabulary list.

To Reproduce Steps to reproduce the behavior:

  1. Run the program for C1945170198-LARC_ASDC using dif10 format. Note: the provided value is "IMAGERY/BASE MAPS/EARTH COVER".
  2. See error: "Error: Invalid ISO Topic Category. Provide a valid ISO Topic Category value from the following list: ['BIOTA', 'BOUNDARIES', 'CLIMATOLOGY/METEOROLOGY/ATMOSPHERE', 'DISASTER', 'ECONOMY', 'ELEVATION', 'ENVIRONMENT', 'EXTRA TERRESTRIAL', 'FARMING', 'GEOSCIENTIFIC INFORMATION', 'HEALTH', 'IMAGERY/BASE MAPS/EARTH COVER', 'INLAND WATERS', 'INTELLIGENCE/MILITARY', 'LOCATION', 'OCEANS', 'PLANNING CADASTRE', 'SOCIETY', 'STRUCTURE', 'TRANSPORTATION', 'UTILITIES/COMMUNICATIONS']."

Expected behavior No error expected since the provided value is in the controlled vocab list.

jenny-m-wood commented 1 year ago

@slesaad @xhagrg Update on this - this is still an issue. Our team is not sure how to resolve it.

slesaad commented 1 year ago

This should solve multiple errors, not just iso_topic_category_check. PR: #226

slesaad commented 1 year ago

closed by #226