-
Notifications
You must be signed in to change notification settings - Fork 108
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
LiCSBAS04op_mask_unw.py #310
Comments
I guess one of the cc files is empty. Please check the file size of cc files. |
Yes, it turns out there are several empty CC files. I have also checked the LiCSAR data, the cc data is not available. Do you know how to fix it? |
LiCSBAS cannot fix it. (CC: @espiritocz) |
what is the frame id and the ifg pair(s) so i can check/fix? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear Prof Yumorishita
LiCSBAS04op_mask_unw.py ver1.3.5 20210105 Y. Morishita
LiCSBAS04op_mask_unw.py -i GEOCml1GACOS -o GEOCml1GACOSmask -c 0.1
Calculate coh_avg and define mask (<=0.1)
/home/afifjanur/LiCSBAS/bin/LiCSBAS04op_mask_unw.py:176: DeprecationWarning:
np.bool
is a deprecated alias for the builtinbool
. To silence this warning, usebool
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, usenp.bool_
here.Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
bool_mask = np.zeros((length, width), dtype=np.bool)
Traceback (most recent call last):
File "/home/afifjanur/LiCSBAS/bin/LiCSBAS04op_mask_unw.py", line 326, in
sys.exit(main())
File "/home/afifjanur/LiCSBAS/bin/LiCSBAS04op_mask_unw.py", line 191, in main
coh = io_lib.read_img(ccfile, length, width)
File "/home/afifjanur/LiCSBAS/LiCSBAS_lib/LiCSBAS_io_lib.py", line 199, in read_img
data = np.fromfile(file, dtype=dtype).reshape((length, width))
ValueError: cannot reshape array of size 0 into shape (3077,2842)
I have this error when I try to run batch processing. Do you know how to fix it?
The text was updated successfully, but these errors were encountered: