wmo-im / pywcmp

pywcmp provides validation and quality assessment capabilities for the WMO WIS Core Metadata Profile (WCMP)
https://community.wmo.int/activity-areas/wis
Other
9 stars 8 forks source link

add WCMP 1 to WCMP 2 migration tool #70

Closed tomkralidis closed 1 year ago

tomkralidis commented 2 years ago

As discussed at TT-WISMD 2022-06-15, providing a migration utility for WCMP1 to WCMP2 (i.e. something like pywcmp migrate foo.xml foo.json) will be of value to organizations with existing WCMP1/XML tooling/workflow.

Note that the utility should include clear disclaimers that simply converting from WCMP1 to WCMP2 (lift-and-shift) does not constitute WIS 2.0 compliant metadata and users will be required to review WCMP2 proper to ensure granularity and quality are considered.

cc @solson-nws

tomkralidis commented 2 years ago

One option is to use OWSLib to parse the WCMP1 document, and then pygeometa to create an MCF object to serialize to WCMP2 (which is now supported by pygeometa).

tomkralidis commented 2 years ago

TT-WISMD 2022-06-29

tomkralidis commented 1 year ago

Implemented via https://github.com/geopython/pygeometa/issues/208