obspy.clients : Help needed

Hi,
I am very new to obspy package, I am not sure this is the right place to ask this question.
I am trying to download events from ISC (includearrivals =True), And I am getting an object, But I don’t know how exactly I could make an output file with the arrival phases in NORDIC format from this.!?!?

Any suggestions?

eg:

client=Client(“ISC”)

cat = client.get_events(eventid=867982,includearrivals=True)

how to make an output file in NORDIC (or text format) which contains event parameters and the phase arrivals?

THANK YOU

Hi Vivek,

You should just be able to cat.write("catalog.out", format="NORDIC") This is the general format for writing Catalog objects from obspy. See the docs page here https://docs.obspy.org/packages/autogen/obspy.core.event.Catalog.write.html

Note there have been a lot of improvements for NORDIC support for the upcoming version 1.2.0 that are in the current obspy master, so if you find that the files are missing something you need, then let us know and we can help you install the current master branch.

Calum.