TDMT_INV

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):
   File "/home/soft/tdmt/py/tdmt.py", line 27, in <module>
     tdmt(args)
   File "/home/soft/tdmt/py/func_tdmt.py", line 103, in tdmt
     greenStream.write(args.outdir + os.sep + 'greens.mseed', format='MSEED')
   File "/usr/lib/python2.7/site-packages/obspy.core-0.7.1-py2.7.egg/obspy/core/stream.py", line 1248, in write
     format_ep = WAVEFORM_ENTRY_POINTS[format]
KeyError: 'MSEED'

What would you advise me to do?

Thanks & Regards,

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

Hello,

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

Cheers!

Lion