The convertor dies when encountering "-nan" as the value for ClockDrift in StationXML. This results from automated StationXML creation software at fdsnws sites (such as SeisComP) when samplerate is given as 0. I have requested that the authors of SeisComP address the issue on their end, but there is no guarantee that that will resolve every case, especially if fdsnws operators are slow to update their software.
I suggest the convertor treat ClockDrift as 0 if it is found as anything other than a number.
Here's the error report:
dies with java.lang.NullPointerException
at edu.iris.dmc.seed.control.station.B052.setMaxClockDrift(B052.java:194)
Here is an example fdsnws request that will generate the problem:
https://www.orfeus-eu.org/fdsnws/station/1/query?format=xml&level=response&nodata=404&channel=*&network=OE&station=ABTA
Thanks.
The convertor dies when encountering "-nan" as the value for ClockDrift in StationXML. This results from automated StationXML creation software at fdsnws sites (such as SeisComP) when samplerate is given as 0. I have requested that the authors of SeisComP address the issue on their end, but there is no guarantee that that will resolve every case, especially if fdsnws operators are slow to update their software.
I suggest the convertor treat ClockDrift as 0 if it is found as anything other than a number.
Here's the error report:
dies with java.lang.NullPointerException
at edu.iris.dmc.seed.control.station.B052.setMaxClockDrift(B052.java:194)
Here is an example fdsnws request that will generate the problem:
https://www.orfeus-eu.org/fdsnws/station/1/query?format=xml&level=response&nodata=404&channel=*&network=OE&station=ABTA
Thanks.