Skip to content

crash on "-nan" ClockDrift #69

Description

@RJSLA

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions