[MSNoise] (no subject)

Josiah Ensing jens755 at aucklanduni.ac.nz
Thu Oct 23 22:49:13 UTC 2014


Using MSNoise 1.24 there are two python scripts that plot; they are
07plot_dtt.py and s07plot_dtt.py. I get errors for either.

Using s07plot_dtt.py yields attachment s07plot_dtt.png. There are two
problems:

1)  I entered mov_stack values 1,3,5, and 10 days into the configurator but
the graphical output includes only 1, 3, and 5 days moving window graphs,
and the only graph with any data plotted onto it is the 5 days moving
window.

2) the graph x axes automatically include a much larger time period than
covered by the data plotted. This includes dates back to 2013 and forward
into 2016, while all the data I have is from 2014. I am unsure if this
problem is related to some of my settings in the configurator. My settings
that I can see might be related are: enddate=2100-01-01, ref_begin=-100,
ref_end=0, startdate=2014-05-04.

Using 07plot_dtt.py yields attachment image 07.plot_dtt.png  the following:

>>> runfile('/home/devora/MSNoise-master/07.plot_dtt.py',
wdir=r'/home/devora/MSNoise-master')

UMD has deleted: database_tools, msnoise_table_def

loading 1 days

loading 3 days

Traceback (most recent call last):

File "<stdin>", line 1, in <module>

File
"/usr/lib/python2.7/site-packages/spyderlib/widgets/externalshell/sitecustomize.py",
line 540, in runfile

execfile(filename, namespace)

File "/home/devora/MSNoise-master/07.plot_dtt.py", line 128, in <module>

plt.fill_between(ALL.index,ALL[dttname]-ALL[errname],ALL[dttname]+ALL[errname],lw=1,color='red',zorder=-1,alpha=0.3)

File "/usr/lib64/python2.7/site-packages/matplotlib/pyplot.py", line 2757,
in fill_between

interpolate=interpolate, **kwargs)

File "/usr/lib64/python2.7/site-packages/matplotlib/axes.py", line 6988, in
fill_between

x = ma.masked_invalid(self.convert_xunits(x))

File "/usr/lib64/python2.7/site-packages/numpy/ma/core.py", line 2239, in
masked_invalid

condition = ~(np.isfinite(a))

TypeError: ufunc 'isfinite' not supported for the input types, and the
inputs could not be safely coerced to any supported types according to the
casting rule ''safe''

>>>


Has anyone else encountered these problems before? Does anyone have any
suggestions for what I might do to overcome them?


Thankyou


Josiah
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 07plot_dtt.png
Type: image/png
Size: 41659 bytes
Desc: not available
URL: <http://mailman-as.oma.be/pipermail/msnoise/attachments/20141024/37d259da/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: s07plot_dtt.png
Type: image/png
Size: 95503 bytes
Desc: not available
URL: <http://mailman-as.oma.be/pipermail/msnoise/attachments/20141024/37d259da/attachment-0003.png>


More information about the MSNoise mailing list