-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error with display of time series and displacement data #308
Comments
Please see #250 (comment). |
Thank you so much. I switched to LiCSBAS2 and it is working fine. |
Hello Dr. Yumorishita,I had this problem Reading TS_GEOCml1clip/cum_filt.h5 Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, webgl, xcb. |
thank you |
Hello Dr. Yumorishita,
After downgrading the matplotlib to version 3.4.2, I could run the analysis successfully but I'm still stuck with the display of the time series and displacement plot. When I ran the code this is the error that I'm now facing:
LiCSBAS16_filt_ts.py Successfully finished!!
Output: TS_GEOCml1clip/cum_filt.h5
To plot the time-series:
LiCSBAS_plot_ts.py -i TS_GEOCml1clip/cum_filt.h5 &
(licsbas) sreetama@sreetama:
/anaconda3/envs/licsbas/124D_04854_171313$ LiCSBAS_plot_ts.py -i TS_GEOCml1clip/cum_filt.h5 &/anaconda3/envs/licsbas/124D_04854_171313$[2] 180562
(licsbas) sreetama@sreetama:
LiCSBAS_plot_ts.py ver1.13.4 20210910 Y. Morishita
LiCSBAS_plot_ts.py -i TS_GEOCml1clip/cum_filt.h5
Reading TS_GEOCml1clip/cum_filt.h5
Reading TS_GEOCml1clip/cum.h5 as 2nd
Reading TS_GEOCml1clip/results/mask as mask
Reading GEOCml1clip/U.geo
Reading mask
Reading coh_avg
Reading n_unw
Reading vstd
Reading maxTlen
Reading n_gap
Reading stc
Reading n_ifg_noloop
Reading n_loop_err
Reading resid_rms
Reading slc.mli
Reading hgt
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Traceback (most recent call last):
File "/home/sreetama/LiCSBAS/bin/LiCSBAS_plot_ts.py", line 890, in
printcoords(lastevent)
File "/home/sreetama/LiCSBAS/bin/LiCSBAS_plot_ts.py", line 773, in printcoords
ii = np.int(np.round(event.ydata))
File "/home/sreetama/anaconda3/envs/licsbas/lib/python3.8/site-packages/numpy/init.py", line 305, in getattr
raise AttributeError(former_attrs[attr])
AttributeError: module 'numpy' has no attribute 'int'.
[np.int](http://np.int/)
was a deprecated alias for the builtinint
. To avoid this error in existing code, useint
by itself. Doing this will not modify any behavior and is safe. When replacing[np.int](http://np.int/)
, you may wish to use e.g.np.int64
ornp.int32
to specify the precision. If you wish to review your current use, check the release note link for additional information.The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
So can you tell me what I should do to resolve this issue of Attribute error?
The text was updated successfully, but these errors were encountered: