Skip to content

Response Level and Information Equivalence with StationXML #2

@krischer

Description

@krischer

Hi Chad and others,

I hope this is not too late. I like the proposal of having a JSON representation for station data however I would rather see this evolve into a JSON representation of the information contained in StationXML files and not only the text output from the FDSN web services. This means that the design goal of the StationJSON format should be that it can store the same information as StationXML files and one can convert from one to the other without loosing any information.

The JSON files at the network, station, and channel level would not change a lot I believe, but it would require additional definitions at the response level which should not be too much work.

I would be willing to look into actually doing that if there is interest in this. Potentially its even possible to auto-convert the XSD schema to a JSON schema.

Potential gains of a fully equivalent JSON representation of StationXML:

  1. IMHO easier to edit then XML files.
  2. Easier to parse and work with in almost all programming languages.
  3. They could just be dumped into "JSON enabled" databases (PostgreSQL > 9.4, MongoDB, many NoSQL databases, ...). Some of these are pretty neat and can query on nested JSON files.
  4. The "minimum" content characteristic desired for this format would be defined by the StationXML standard which I think is pretty sensible.
  5. It could evolve together with the StationXML definition and thus does not require a full separate definition.

FDSN standards tend to stick around for a long time so I believe the effort of doing this are well worth it.

Cheers!

Lion

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions