iris-edu / stationxml-validator

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

[Develop Test] Error 403.5: InstrumentSensitivity is assigned a value of 0 #49

Closed timronan closed 6 years ago

timronan commented 6 years ago

Note: Error number 403.5 will be reassigned. This number to temporarily help define the subject.

Create a test to verify that InstrumentSensitivity has a Value that is nonzero.

timronan commented 6 years ago

Error should catch: https://service.iris.edu/fdsnws/station/1/query?net=GE&sta=LVC&loc=10&cha=HHE&starttime=2018-01-01T01:00:00&level=response&format=xml&includecomments=true&nodata=404

https://service.iris.edu/fdsnws/station/1/query?net=AK&sta=MLY&loc=EP&cha=BDO&starttime=2018-01-01T00:00:00&level=response&format=xml&includecomments=true&nodata=404

https://service.iris.edu/fdsnws/station/1/query?net=II&sta=BFO&loc=00&cha=LA1&starttime=2018-01-01T00:00:00&level=response&format=xml&includecomments=true&nodata=404

https://service.iris.edu/fdsnws/station/1/query?net=IU&sta=TATO&loc=30&cha=LDO&starttime=2018-01-01T00:00:00&level=response&format=xml&includecomments=true&nodata=404

timronan commented 6 years ago

An exception needs to be made so this rule does not trigger on OCF, SOH, ACE, and LOG channels. Refer to https://github.com/iris-edu/StationXML-Validator/issues/51

timronan commented 6 years ago

Refer to 410 on the Validation test table.