iris-edu / stationxml-validator

GNU General Public License v3.0
16 stars 8 forks source link

Error 402: Unit Case Sensitivity #42

Closed timronan closed 6 years ago

timronan commented 6 years ago

Error 402 is triggering on mismatched case sensitivity of units. Because SEED traditionally uses upper case characters for assigning units, this error should be a warning to encourage future users to assign unit names the character cases outlined by SI standards but allow dataless to sxml conversions into the system. Unit name strings containing all uppercase characters are likely an artifact of the dataless to stationxlm conversion process.

Refer to: https://github.com/iris-edu/StationXML-Validator/wiki/Unit-name-overview-for-IRIS-StationXML-validator

EX1:https://service.iris.edu/fdsnws/station/1/query?net=PB&sta=B944&loc=T3&cha=RCD&starttime=2010-01-01T01:00:00&level=response&format=xml&includecomments=true&nodata=404

timronan commented 6 years ago

Error 402: Is actually occuring because full unit names are written as plurals by station operators. These plural unit names are not on the unit list, so this error is occurring. We should consider extending the unit list to include plural written unit names. Unit symbols should never be plural. Refer to: https://www.nist.gov/pml/weights-and-measures/writing-metric-units

timronan commented 6 years ago

Pleas update "Unit name overview for IRIS StationXML validator" to refelct the Unit name dictionary in the JAR and the issue will be closed.