Hello,
I would like your advise about a problem I have.
I am running IPython version 2.7.3 (default, Aug 1 2012, 05:14:39) \n[GCC 4.6.3] on Ubuntu.
I want to rotate north and east component of a seismogram to radial and transverse components which seems "easy".
I wrote the line
" rotate_NE_RT(north,east, baz) "
and get Typeerror message :
TypeError: unsupported operand type(s) for +: 'exceptions.TypeError' and
'exceptions.TypeError'
I was wondering if you had any ideas about this error?
Thanks & Regards,
Here is the code I used and the error message:
from obspy.core import read,Trace
from obspy.core import UTCDateTime
from obspy.signal import cornFreq2Paz
from obspy.signal import seisSim
from obspy.sac import SacIO, attach_paz, attach_resp
from obspy.sac.sacio import SacIO
import matplotlib.pyplot as plt
import numpy as np