Open sdlccug opened 1 year ago
That bug was already fixed in LiCSBAS2: https://github.com/yumorishita/LiCSBAS2/commit/1560f38ea0bc12215d5bd38a879b5973834aa670#diff-377f64b0637de03d288a5eb69290a739c2cbfb382da7a96d1d860841959567f1L773-R776
Please use LiCSBAS2 or apply the same modification to your source code in LiCSBAS.
Hi Prof Yumorishita I use putty and xming for show the plot, but error below:
LiCSBAS_plot_ts.py -i TS_GEOCml1GACOSmaskclip/cum_filt.h5
Reading TS_GEOCml1GACOSmaskclip/cum_filt.h5
Reading TS_GEOCml1GACOSmaskclip/cum.h5 as 2nd
Reading TS_GEOCml1GACOSmaskclip/results/mask as mask
Reading GEOCml1GACOSmaskclip/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
/home/sphere/tesis_irma/irmayoli/LiCSBAS/bin/LiCSBAS_plot_ts.py:504: DeprecationWarning: product
is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use prod
instead.
refvalue_vel = np.nanmean((velmask)[refy1:refy2+1, refx1:refx2+1])
/home/sphere/tesis_irma/irmayoli/LiCSBAS/bin/LiCSBAS_plot_ts.py:505: DeprecationWarning: product
is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use prod
instead.
vmin_auto = np.nanpercentile(velmask, 100-auto_crange)
/home/sphere/tesis_irma/irmayoli/LiCSBAS/bin/LiCSBAS_plot_ts.py:506: DeprecationWarning: product
is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use prod
instead.
vmax_auto = np.nanpercentile(velmask, auto_crange)
qt.qpa.xcb: X server does not support XInput 2
failed to get the current screen resources
/home/sphere/tesis_irma/irmayoli/LiCSBAS/bin/LiCSBAS_plot_ts.py:530: DeprecationWarning: product
is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use prod
instead.
data = velmask-np.nanmean((vel*mask)[refy1:refy2+1, refx1:refx2+1])
Traceback (most recent call last):
File "/home/sphere/tesis_irma/irmayoli/LiCSBAS/bin/LiCSBAS_plot_ts.py", line 586, in
What is the version of matplotlib? Please try downgrading it to e.g. 3.3.
Hi Morishita
Am processing a new frame and all the steps have successfully finished. However, when I tried the command LiCSBAS_plot_ts.py -i TS_GEOCml1_02/cum_filt.h5 & I got an error saying: "Unable to open object (object 'vel' doesn't exist)"
I guess you have not successfully finished step16.
Hi @yumorishita After downgrading the matplotlib, I got the same error.
I am using this software for a long time. I did not get any error like this. Suddenly today I got this error. Please help me how to solve this problem and thank you for your time and consideration.
Maybe you did not downgrade the matplotlib in your "licsbas" venv.
Hi @yumorishita After downgrading the matplotlib in licsbas evn, I got this error.
Hi Prof Yumorishita, Earlier I had a problem when plotting. Than I downgraded matplotlib to 3.3, but now i got an error as below:
LiCSBAS_plot_ts.py ver1.14.0 20230219 Y. Morishita
LiCSBAS_plot_ts.py -i TS_GEOCml1GACOSmaskclip/cum_filt.h5
Traceback (most recent call last):
File "/home/hana2024/home/hana/penelitian/LiCSBAS2/bin/LiCSBAS_plot_ts.py", line 248, in
Nothing appears. How do I resolve this? Thank you Prof.
You should not downgrade matplotlib if you use LiCSBAS2.
You should not downgrade matplotlib if you use LiCSBAS2.
I have upgraded matplotlib again. but I found problems like the following and nothing appears:
LiCSBAS_plot_ts.py ver1.14.0 20230219 Y. Morishita LiCSBAS_plot_ts.py -i TS_GEOCml1GACOSmaskclip/cum_filt.h5
Reading TS_GEOCml1GACOSmaskclip/cum_filt.h5 Reading TS_GEOCml1GACOSmaskclip/cum.h5 as 2nd Reading mask 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
Thank you Prof
There is no error.
Hi Mr. yumorishita
I want to do plotting, but when I try the command "LiCSBAS_plot_ts.py -i TS_GEOCml1clip/cum_filt.h5 &" I got a message that my data was not found. Do you have any suggestions?
It literally means that TS_GEOCml1clip/cum_filt.h5 does not exist. You must finish LiCSBAS processing first.
Dear Professor, what does this vel(1) and vel(2) mean
Hello, I have been trying to plot my results using LiCSBAS_plot_ts.py -i TS_GEOCml1_02_till2024/cum_filt.h5 & but I encountered the following error (attached pic). Is it because of my python version (3.10.13) or the LiCSBAS_plot_ts.py? I would be thankful if you could suggest a solution to this problem.
Hello professor, I have encountered the following problem. It says that I do not have the slc.mli file. May I ask which step went wrong
It is not a problem and you can ignore it.
But i can't plot it
It is because of your environmental setting, not slc.mli.
But i can't plot it Change your environment using this command conda activate licsbas
如果使用 LiCSBAS2,则不应降级 matplotlib。
我再次升级了 matplotlib。但是我发现了如下问题,但没有任何显示:
LiCSBAS_plot_ts.py ver1.14.0 20230219 Y. Morishita LiCSBAS_plot_ts.py -i TS_GEOCml1GACOSmaskclip/cum_filt.h5
阅读 TS_GEOCml1GACOSmaskclip/cum_filt.h5 阅读 TS_GEOCml1GACOSmaskclip/cum.h5 作为第二阅读面罩 阅读面罩 阅读 coh_avg 阅读 n_unw 阅读 vstd 阅读 maxTlen 阅读 n_gap 阅读 stc 阅读 n_ifg_noloop 阅读 n_loop_err 阅读 resid_rms 阅读 slc.mli 阅读 hgt
谢谢教授
Have you solved it? I have the same problem as you
Hi Prof @yumorishita I have been trying to plot my results using LiCSBAS_plot_ts.py -i TS_GEOCml1GACOSmaskclip/cum_filt.h5 but the result the following error
Do you have any suggestions? thankyou
I have never seen such an error. Please upload the full log of the processing.
this the log 202409041526batch_LiCSBAS_01_16.log
It seems to be the same as https://github.com/DeepLabCut/DeepLabCut/pull/2599. Please donwgrade matplotlib to <3.7.0 for the time being.
It seems to be the same as DeepLabCut/DeepLabCut#2599. Please donwgrade matplotlib to <3.7.0 for the time being.
Thank you sir for your help and suggestions
You should not downgrade matplotlib if you use LiCSBAS2.
but on this comment, if use licsbas2 should not downgrade matplotlib. How do I downgrade matplotlib, do I have to uninstall the previous version ?
matplotlib 3.6.0 would be acceptable. How did you install it? conda? pip?
'Traceback (most recent call last): File "/mnt/rfchen/licSBSA/LiCSBAS-master/bin/LiCSBAS_plot_ts.py", line 890, in
printcoords(lastevent)
File "/mnt/rfchen/licSBSA/LiCSBAS-master/bin/LiCSBAS_plot_ts.py", line 773, in printcoords
ii = np.int(np.round(event.ydata))
^^^^^^
File "/mnt/rfchen/tools/miniconda3/envs/licsbas/lib/python3.11/site-packages/numpy/init.py", line 305, in getattr
raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'int'.
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 replacingnp.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. Did you mean: 'inf'? ' It prompted me to lower the version of numpy, but after I did, I found that the lower version of numpy was not compatible with many other packages in the library 'RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf . Check the section C-API incompatibility at the Troubleshooting ImportError section at https://numpy.org/devdocs/user/troubleshooting-importerror.html#c-api-incompatibility for indications on how to solve this problem ' How should I solve this problem?