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

Add/echo10 granules support sa #194

Closed spa0002 closed 2 years ago

spa0002 commented 2 years ago

"Added Online Resource Description Uniqueness Check and Online Access Description Uniqueness Check in rule_mapping.json and check_messages.json Added uniqueness_check_echog in checks.json Added uniqueness_check_echog in custom_validator.py"

"Added Granule Project Short Name Check in rule_mapping.json, checks.json, check_messages.json, and string_validator.py Added set_cmr_prms, granule_project_validate_against_collection, collection_in_cmr, and validate_against_collection functions in string_validator.py Added cmr_request function in base_validator.py

Modified Granule Project Short Name Check"

"Added Granule Single Date Time Check in rule_mapping.json and check_messages.json Update Datetime ISO Format Check in rule_mapping.json for ECHO10 Granules"

"Update ECHO10 Granule Vertical Spatial Domain Type Check in rule_mapping.json for ECHO10 Granules Renamed ""vertical_spatial_domain_type_check_granule"" to ""vertical_spatial_domain_type_check_granule"" in rule_mapping.json and check_messages.json"

"Added Added Granule Sensor Short Name Check in rule_mapping.json, checks.json, check_messages.json, and string_validator.py Added granule_sensor_validate_against_collection function in string_validator.py"

Update instrument_short_name_gcmd_check in rule_mapping.json for ECHO10 Granules

Update platform_short_name_gcmd_check in rule_mapping.json for ECHO10 Granules

Update data_format_gcmd_check in rule_mapping.json for ECHO10 Granules

Update campaign_short_name_gcmd_check in rule_mapping.json for ECHO10 Granules

Update bounding_coordinate_logic_check in rule_mapping.json for ECHO10 Granules

Update campaign_name_presence_check in rule_mapping.json for ECHO10 Granules

Update online_resource_url_presence_check in rule_mapping.json for ECHO10 Granules

Update online_access_url_description_check in rule_mapping.json for ECHO10 Granules

Update online_resource_url_description_check in rule_mapping.json for ECHO10 Granules

Update online_resource_url_description_check in rule_mapping.json for ECHO10 Granules

Update spatial_extent_requirement_fulfillment_check in rule_mapping.json for ECHO10 Granules

Update boolean_check in rule_mapping.json for ECHO10 Granules

Update online_resource_type_gcmd_check in rule_mapping.json for ECHO10 Granules

Update online_resource_type_presence_check in rule_mapping.json for ECHO10 Granules

Update temporal_extent_requirement_check in rule_mapping.json for ECHO10 Granules

"Update url_desc_presence_check in rule_mapping.json for ECHO10 Granules url_desc_presence_check gives message that URL description is not provided for URL online_resource_url_description_check / online_access_url_description_check give context (...optional, but is highly recommended)"

Update mime_type_gcmd_check in rule_mapping.json for ECHO10 Granules

spa0002 commented 2 years ago

For the “Data Format GCMD Check” (data_format_gcmd_check), recommend adding the following format field under echo-g in the rule_mapping.json: “Granule/DataGranule/AdditionalFile/Format”

For the "Mime Type GCMD Check" (mime_type_gcmd_check), there is an extra space after the last field dictionary for echo-g.

Pushed changes based on feedback