[obspy-users] Creating an event catalogue
Maccarthy, Jonathan K
jkmacc at lanl.gov
Sat Feb 25 17:40:08 CET 2017
Thanks, Peter. This is helpful. QuakeML looks like a hierarchical database to me, so any help understanding it is great.
The metadata-to-dataless also sounds interesting:-) Are developing this in the open?
From: obspy-users-bounces at lists.swapbytes.de <obspy-users-bounces at lists.swapbytes.de> on behalf of Peter Schmidt <peter.schmidt at geo.uu.se>
Sent: Saturday, February 25, 2017 9:31:38 AM
To: users at obspy.org; Tobias Megies
Subject: Re: [obspy-users] Creating an event catalogue
Thanks, hopefully it can be usefull as a quick overwiew although I'm not entirelly sure its correct/complete in all details. Have a similar graph for the Inventory object set up when I was developing some tools for stationXML and are currently trying to create one for Parser object as I need to convert some metadata to dataless. Mentioning this in case the graphs may be of use to others, just let me know and I'll be glad to share
---- Tobias Megies skrev ----
Nice graphs, Peter!
Steve, in addition, you can also have a look at the QuakeML manual,
we've modeled our class structure pretty closely:
On 02/24/2017 11:38 PM, Peter Schmidt wrote:
> Hi Steve
> I did something similar a while ago. The notebook by Tobias is a good
> starter but what really pulled me through was mapping out the
> obspy.core.event.Catalogue<http://obspy.core.event.Catalogue> class graphically to get some kind of
> overview of this relatively complex object. Attached to this mail is
> what I ended up with, hopefully you can get some help from this (not
> assuring that its gives the full picture though).
> On 2017-02-24 21:58, Tobias Megies wrote:
>> take a look at this notebook we assembled at some point for workshop
>> There's an example to put together a QuakeML file from scratch in the
>> last example code cell.
>> In your case you just want to do something like..
>> from obspy.core.event<http://obspy.core.event> import Pick, Event, Catalog
>> event = Event()
>> catalog = Catalog(events=[event])
>> for ....:
>> pick = Pick(...)
>> On 02/24/2017 05:01 PM, Hicks S.P. wrote:
>>> Hi all
>>> I'm running an automatic picker on some continuous data (day files).
>>> I want to analyse these picks using obspyck. To do this, I need to
>>> create a QuakeML file of an 'event' containing all the picks for a
>>> particular set of day file traces.
>>> I'm familiar with obtaining event catalogues from repositories, but
>>> how do I go about create an event catalogue from scratch myself in
>>> Obspy? I'm looking to create a catalogue for a single event with many
>>> Thanks in advance for your help.
>>> Dr. Stephen Hicks
>>> Postdoctoral Research Fellow in Passive Source Seismology
>>> University of Southampton
>>> T +44 (0)23 8059 9082<tel:+44%20(0)23%208059%209082> (ext: 29239<tel:29239>) M +44 7718 286506<tel:+44%207718%20286506> / +44 7775 694766<tel:+44%207775%20694766>
>>> E s.hicks at soton.ac.uk<mailto:s.hicks at soton.ac.uk><mailto:s.hicks at soton.ac.uk<mailto:s.hicks at soton.ac.uk>> Twitter
>>> W UoS
>>> Room 786/14
>>> Ocean and Earth Science, National Oceanography Centre Southampton
>>> obspy-users mailing list
>>> obspy-users at lists.swapbytes.de<mailto:obspy-users at lists.swapbytes.de>
> obspy-users mailing list
> obspy-users at lists.swapbytes.de<mailto:obspy-users at lists.swapbytes.de>
Dipl.-Geophys. Tobias Megies
EMail: tobias.megies at lmu.de<mailto:tobias.megies at lmu.de>
Tel: +49 (0) 89 2180-73981<tel:+49%20(0)%2089%202180-73981>
Fax: +49 (0) 89 2180-73970<tel:+49%20(0)%2089%202180-73970>
Department f?r Geo- und Umweltwissenschaften
Tel: +49 (0) 89 2180-4326<tel:+49%20(0)%2089%202180-4326>
Fax: +49 (0) 89 2180-4205<tel:+49%20(0)%2089%202180-4205>
obspy-users mailing list
obspy-users at lists.swapbytes.de<mailto:obspy-users at lists.swapbytes.de>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the obspy-users