# template to use for adding tomoDD reader to obspy

**URL:** https://discourse.obspy.org/t/template-to-use-for-adding-tomodd-reader-to-obspy/405
**Category:** Users Mailing List Archive
**Tags:** archive
**Created:** [April 7, 2015, 10:55pm UTC](https://discourse.obspy.org/t/template-to-use-for-adding-tomodd-reader-to-obspy/405 "2015-04-07T22:55:30Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Brad\_Aagaard](https://discourse.obspy.org/letter_avatar_proxy/v4/letter/b/d2c977/32.png) [@Brad\_Aagaard](https://discourse.obspy.org/u/Brad_Aagaard)
#### Post date: [April 7, 2015, 10:55pm UTC](https://discourse.obspy.org/t/template-to-use-for-adding-tomodd-reader-to-obspy/405/1 "2015-04-07T22:55:30Z")

</div>

Obspy developers,

It doesn't look like there is a tomoDD format for obspy.core.event.read\_events(). Do you have a recommended template, i.e., which of the existing formats is the best starting point, to use for such a reader?

Thanks,  
Brad

---

<div class="post-metadata">

### Author: ![megies](https://discourse.obspy.org/user_avatar/discourse.obspy.org/megies/32/9_2.png) [@megies](https://discourse.obspy.org/u/megies)
#### Post date: [April 8, 2015, 8:32am UTC](https://discourse.obspy.org/t/template-to-use-for-adding-tomodd-reader-to-obspy/405/2 "2015-04-08T08:32:57Z")

</div>

Hi Brad,

I'd recommend to use the nonlinloc hypocenter file format reading  
routines as a template (ignoring the write routines for phase files in  
there):

> **[obspy/obspy/io/nlloc at master · obspy/obspy](https://github.com/obspy/obspy/tree/master/obspy/io/nlloc)**
>
> ObsPy: A Python Toolbox for seismology/seismological observatories. - obspy/obspy

Note that we moved things around for the next major release (see #842),  
so make sure to start work from current master.

best,  
Tobias
