# TDMT\_INV

**URL:** <https://discourse.obspy.org/t/tdmt-inv/151>\
**Category:** Users Mailing List Archive\
**Tags:** archive\
**Created:** [November 13, 2012, 8:11am UTC](https://discourse.obspy.org/t/tdmt-inv/151 "2012-11-13T08:11:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahu\_Komec\_Mutlu](https://discourse.obspy.org/letter_avatar_proxy/v4/letter/a/b9bd4f/32.png) [@Ahu\_Komec\_Mutlu](https://discourse.obspy.org/u/Ahu_Komec_Mutlu)\
**Post date:** [November 13, 2012, 8:11am UTC](https://discourse.obspy.org/t/tdmt-inv/151/1 "2012-11-13T08:11:38Z")

</div>

Hello,

Sorry to disturb again but I have a lot of questions and a lot to learn about python.

I was working on tdmtV1.0/examples/20120819\_174508  
Here is the error message I got:

[komec@localhost 20120819\_174508]$ tdmt.py --outdir inv --epi "39.875 16.005 5" --len 400 --pre 100 --ori 2012-08-19T17:45:08 --title "Cosenza" --lowpass "2 0.02" --highpass "2 0.1" --model ../../earth-models/Aquila --pltname run1 --sac data --Paz data --stsC data/rdseed.stations  
/usr/local/bin/rdseed  
... load data  
... removing instrument  
... rotate to GCP, filtering and decimation  
... generate greens  
... spectral to time domain  
... update stream header and sync with data  
... write greens into mseed file for later use  
Traceback (most recent call last):  
&nbsp;&nbsp;&nbsp;File "/home/soft/tdmt/py/tdmt.py", line 27, in \<module\>  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tdmt(args)  
&nbsp;&nbsp;&nbsp;File "/home/soft/tdmt/py/func\_tdmt.py", line 103, in tdmt  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;greenStream.write(args.outdir + os.sep + 'greens.mseed', format='MSEED')  
&nbsp;&nbsp;&nbsp;File "/usr/lib/python2.7/site-packages/obspy.core-0.7.1-py2.7.egg/obspy/core/stream.py", line 1248, in write  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;format\_ep = WAVEFORM\_ENTRY\_POINTS[format]  
KeyError: 'MSEED'

What would you advise me to do?

Thanks & Regards,

---

<div class="post-metadata">

**Author:** ![fabrizio.bernardi](https://discourse.obspy.org/letter_avatar_proxy/v4/letter/f/b782af/32.png) [@fabrizio.bernardi](https://discourse.obspy.org/u/fabrizio.bernardi)\
**Post date:** [November 13, 2012, 10:17am UTC](https://discourse.obspy.org/t/tdmt-inv/151/2 "2012-11-13T10:17:03Z")

</div>

Hello,

I developed the tdmt package on mac os X 10.7 with intel icore i7. At the present it is tested only on this system.

From log file it seems that the package has problems when writing the greens functions in mseed file format, but i can't say why since I can't replicate this kind of error. On which system are you running the code?

fabrizio bernardi

---

<div class="post-metadata">

**Author:** ![LionKrischer](https://discourse.obspy.org/user_avatar/discourse.obspy.org/lionkrischer/32/219_2.png) [@LionKrischer](https://discourse.obspy.org/u/LionKrischer)\
**Post date:** [November 13, 2012, 10:25am UTC](https://discourse.obspy.org/t/tdmt-inv/151/3 "2012-11-13T10:25:11Z")

</div>

Hello,

the traceback tells that you did not correctly install obspy.mseed which is needed for writing MiniSEED files.

Cheers!

Lion
