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 line numbers to KPI-1 (ATS) error texts. #47

Closed josusky closed 3 years ago

josusky commented 3 years ago

The structure of the output texts that start with requirement number was preserved. In many cases the error is about a missing element so there is no line number associated with it. In the few other cases an extra text is added at the end, thus we get something like: "ASSERTION ERROR: Requirement 9.3.1: A WIS Discovery Metadata record describing data for global exchange via the WIS shall indicate the WMO Data License as Legal Constraint (type: "otherConstraints") using one and only one term from the WMO_DataLicenseCode code list. Please check contraints at lines [456, 459]."