-
Notifications
You must be signed in to change notification settings - Fork 110
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
bool error #307
Comments
Please use LiCSBAS2 in which the bug was fixed (yumorishita/LiCSBAS2#22), apply the bug fix to your code yourself, or try downgrading numpy. |
Thank you. I am using LiCSBAS2 now. However, I received the error: RuntimeWarning: All-NaN slice encountered
|
Can you attach |
You said
but you did not according to the log. Please try clipping. |
Hi, I am attaching the logfile, 11ifg_stats.txt and the batch_licsBAS.sh files with the clip applied which still resulted in the Nan error described in an earlier comment. Any Advice would be much appreciated. 202311141509batch_LiCSBAS_01_16.log Thanks |
I checked the real data in 164A_07620_000518 and found that most of the unwrapped data are not correctly masked. For example, in the attached image, the correlated area in the left top interferogram is correctly masked. However, the right top and the left bottom ones are not correctly masked. Recent interferograms (until July 2023) also have this issue. This unmasked unwrapped data is the root cause of the error in step12. @espiritocz |
The images like above are contained in the 12loop directory. |
hi. i can invite you to test the current version of reunwrapping that is implemented in LiCSBAS02to05_unwrap.py in https://github.com/comet-licsar/LiCSBAS/tree/dev (although it is already in the main branch, there were some changes in the dev branch), that is using lics_unwrap tool. This way you can try several parameters to improve the unwrapped data. see below as fast preview - the bottom row is different unwrapping mechanisms that can be tried.. (e.g. ML4 with some lower threshold for masking would give more pixels, although probably more loop closure errors) |
Hi Mr. Yumorisitha LiCSBAS11_check_unw.py ver1.3.3 20210402 Y. Morishita coh_thre : 0.05 Size : 691 x 981 Reading unw and cc data... I have attached the logfile below, please help me sir |
Please check all the |
Maybe you changed the clip area? If so, please remove |
Thank you for your response sir, I want to ask again. I experienced an error during processing. can you help me sir? I have attached the log file below thanks sir |
Maybe there was an network disruption. Please try again. |
Hi Mr. Yumorishita I want to ask about my processing process. why does my processing stop as below? Elapsed time: 00h 00m 06s LiCSBAS15_mask_ts.py Successfully finished!! Output png: TS_GEOCml1clipGACOS/mask_ts.png LiCSBAS16_filt_ts.py ver1.6.0 20230116 Y. Morishita Size of image (w,l) : 691, 981 HP filter in time, LP filter in space, can you help me sir? |
Hi Mr Yumorishita Identifing gaps, and counting n_gap and n_ifg_noloop, |
It seems to be step13, not step16. Set 1 here Line 99 in 5db6516
or it is just taking a very long time. You should check the resource by |
Hi,
Can you please assist with the below error?
LiCSBAS01_get_geotiff.py Successfully finished!!
Output directory: /home/srcgps/LiCSBAS/GEOC
LiCSBAS02_ml_prep.py ver1.7.4 20201119 Y. Morishita
LiCSBAS02_ml_prep.py -i GEOC -n 1
Create E.geo
E.geo created
Create N.geo
N.geo created
Create U.geo
U.geo created
Create slc.mli
slc.mli[.png] created
Create hgt
hgt[.png] created
Create unw and cc
12 parallel processing...
0/498th IFG...
110/498th IFG...
100/498th IFG...
90/498th IFG...
80/498th IFG...
70/498th IFG...
60/498th IFG...
50/498th IFG...
40/498th IFG...
No 20210518_20210611.geo.cc.tif found. Skip
130/498th IFG...
30/498th IFG...
120/498th IFG...
20/498th IFG...
10/498th IFG...
220/498th IFG...
210/498th IFG...
200/498th IFG...
190/498th IFG...
180/498th IFG...
170/498th IFG...
160/498th IFG...
140/498th IFG...
150/498th IFG...
260/498th IFG...
250/498th IFG...
240/498th IFG...
230/498th IFG...
330/498th IFG...
320/498th IFG...
310/498th IFG...
300/498th IFG...
290/498th IFG...
270/498th IFG...
280/498th IFG...
390/498th IFG...
380/498th IFG...
370/498th IFG...
360/498th IFG...
350/498th IFG...
340/498th IFG...
440/498th IFG...
430/498th IFG...
420/498th IFG...
400/498th IFG...
410/498th IFG...
490/498th IFG...
480/498th IFG...
470/498th IFG...
460/498th IFG...
450/498th IFG...
Create slc.mli.par
Create EQA.dem_par
Copy baselines file
Elapsed time: 00h 03m 37s
LiCSBAS02_ml_prep.py Successfully finished!!
Output directory: GEOCml1
LiCSBAS04op_mask_unw.py ver1.3.5 20210105 Y. Morishita
LiCSBAS04op_mask_unw.py -i GEOCml1 -o GEOCml1mask -c 0.1
/home/srcgps/LiCSBAS/bin/LiCSBAS04op_mask_unw.py:176: FutureWarning: In the future
np.bool
will be defined as the corresponding NumPy scalar.bool_mask = np.zeros((length, width), dtype=np.bool)
Traceback (most recent call last):
File "/home/srcgps/LiCSBAS/bin/LiCSBAS04op_mask_unw.py", line 326, in
sys.exit(main())
^^^^^^
File "/home/srcgps/LiCSBAS/bin/LiCSBAS04op_mask_unw.py", line 176, in main
bool_mask = np.zeros((length, width), dtype=np.bool)
^^^^^^^
File "/home/srcgps/miniconda3/envs/licsbas/lib/python3.11/site-packages/numpy/init.py", line 324, in getattr
raise AttributeError(former_attrs[attr])
AttributeError: module 'numpy' has no attribute 'bool'.
np.bool
was a deprecated alias for the builtinbool
. To avoid this error in existing code, usebool
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, usenp.bool_
here.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: 'bool_'?
The text was updated successfully, but these errors were encountered: