Sorry about the unfinished previous e-mail.
My workaround to deal with ints vs. floats in trace.data was:
print "No Offset"
trace.data=trace.data*1.0
return trace
Also, python seems to have issues with relative path module imports (e.g.
'from ..api import *')
This could be a python version or os issue but just wanted to give you a
heads up.
Thank you again!
Cheers,
Rebecca Kramer
On Mon, Dec 8, 2014 at 4:52 PM, Kramer, Rebecca <rkramer(a)usgs.gov> wrote:
Hi Thomas,
I didn't send this to the entire mail list because they are comments on
the master (not release) of msnoise. Thanks for all the work you have been
doing on msnoise!
In api.py, module check_and_phase_shift:
Any modifications to trace result in trace.data containing floats. If
trace.data originally contained ints this presents an issue if there was
"No Offset" because ints can't later be merged with floats. My quick
workaround was: