LiCSBAS
LiCSBAS copied to clipboard
Known issues and FAQ
Unfortunately, I cannot update this LiCSBAS repository for a reason. All known issues are solved in LiCSBAS2 and it will keep updated. I recommend using LiCSBAS2 if you encounter an issue.
ValueError: keyword grid_b is not recognized
https://github.com/yumorishita/LiCSBAS/issues/228
https://github.com/yumorishita/LiCSBAS/issues/224
https://github.com/yumorishita/LiCSBAS/issues/219
Downgrade matplotlib, e.g., to 3.1.
ValueError: A colormap named "SCM.roma0" is already registered
https://github.com/yumorishita/LiCSBAS/issues/176#issuecomment-1303308876
https://github.com/yumorishita/LiCSBAS/issues/195#issuecomment-1363954623
https://github.com/yumorishita/LiCSBAS/issues/198
Downgrade matplotlib, e.g., to 3.4.2.
Step16 (LiCSBAS16_filt_ts.py
) get stuck.
https://github.com/yumorishita/LiCSBAS/issues/62
https://github.com/yumorishita/LiCSBAS/issues/86
Try p16_n_para="1"
.
https://github.com/yumorishita/LiCSBAS/blob/dfdb8fadf323c821f386ed60eb0e871288961a72/batch_LiCSBAS.sh#L111
Problem solved. It worked! Thank you again
ModuleNotFoundError: No module named '_gdal'
https://github.com/yumorishita/LiCSBAS/issues/299
If you have any requests or questions about LiCSAR products (not LiCSBAS), please send an email to 'Contact us' shown at the bottom of https://comet.nerc.ac.uk/COMET-LiCS-portal/. https://github.com/yumorishita/LiCSBAS/issues/323#issuecomment-1914236392
Merge frames: https://github.com/yumorishita/LiCSBAS/issues/24
In step13:
File "LiCSBAS/bin/LiCSBAS13_sb_inv.py", line 785, in main
refy1s, refx1s = refy1s[0], refx1s[0] ## Only first index
IndexError: index 0 is out of bounds for axis 0 with size 0
In step12:
File "LiCSBAS/bin/LiCSBAS12_loop_closure.py", line 356, in main
refy1 = refyx[0][0] # start from 0, not 1
IndexError: index 0 is out of bounds for axis 0 with size 0
https://github.com/yumorishita/LiCSBAS/issues/6 https://github.com/yumorishita/LiCSBAS/issues/56 https://github.com/yumorishita/LiCSBAS/issues/63 https://github.com/yumorishita/LiCSBAS/issues/284 https://github.com/yumorishita/LiCSBAS/issues/295
The cause of the error is
- The number of interferograms is too small
- Too many unwrapping errors are included
Try
- change p11_unw_thre, p11_coh_thre, and/or p12_loop_thre
- crop the area by step05
- improve unwrapping quality and/or increase unwrapped data if you created them manually
thank you sir for your response, can you give me some explanation of the variable p11_unw_thre, p11_coh_thre, and/or p12_loop_thre?
About reference point: https://github.com/yumorishita/LiCSBAS/issues/102, https://github.com/yumorishita/LiCSBAS/issues/266
LiCSBAS04op_mask_unw.py ver1.3.5 20210105 Y. Morishita
LiCSBAS04op_mask_unw.py -i GEOCml1 -o GEOCml1mask -c 0.1
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 "LiCSBAS/bin/LiCSBAS04op_mask_unw.py", line 326, in
sys.exit(main())
^^^^^^
File "LiCSBAS/bin/LiCSBAS04op_mask_unw.py", line 176, in main
bool_mask = np.zeros((length, width), dtype=np.bool)
^^^^^^^
File "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 builtin bool. To avoid this error in existing code, use bool by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.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_'?
https://github.com/yumorishita/LiCSBAS/issues/307#issuecomment-1798388036
Discussion about parameter tuning for a specific case or interpretation of a specific result is out of the scope of the issues in this repository. Please carefully read the LiCSBAS paper, understand the logic, try changing the parameters, and check the result yourself.
LiCSBAS_plot_ts.py and LiCSBAS_cum2vel.py
...
Reading TS_GEOCml1clip/cum_filt.h5
Traceback (most recent call last):
File "LiCSBAS/bin/LiCSBAS_plot_ts.py", line 363, in
refx1, refx2, refy1, refy2 = [int(s) for s in re.split('[:/]', refarea)]
File "re.py", line 231, in split
return _compile(pattern, flags).split(string, maxsplit)
TypeError: cannot use a string pattern on a bytes-like object
Modify
refarea = cumh5['refarea'][()]
to refarea = cumh5['refarea'][()].decode('utf-8')
https://github.com/yumorishita/LiCSBAS/issues/40 https://github.com/yumorishita/LiCSBAS/issues/65 https://github.com/yumorishita/LiCSBAS/issues/96
Traceback (most recent call last):
File "LiCSBAS/bin/LiCSBAS11_check_unw.py", line 348, in
sys.exit(main())
File "LiCSBAS/bin/LiCSBAS11_check_unw.py", line 281, in main
os.symlink(os.path.relpath(rasorg, ifg_rasdir), os.path.join(ifg_rasdir, rasname))
PermissionError: [Errno 1] Operation not permitted: '...unw.png' -> '/media/...unw.png'
https://github.com/yumorishita/LiCSBAS/issues/89 https://github.com/yumorishita/LiCSBAS/issues/277
- Please check the format of the disk
- Recommend not using mounted disk
Searching latest epoch for mli...
Traceback (most recent call last):
File "LiCSBAS2/bin/LiCSBAS01_get_geotiff.py", line 500, in
sys.exit(main())
^^^^^^
File "LiCSBAS2/bin/LiCSBAS01_get_geotiff.py", line 213, in main
response = requests.get(url)
^^^^^^^^^^^^^^^^^
File "miniconda3/envs/licsbas/lib/python3.12/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "miniconda3/envs/licsbas/lib/python3.12/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "miniconda3/envs/licsbas/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "miniconda3/envs/licsbas/lib/python3.12/site-packages/requests/sessions.py", line 725, in send
history = [resp for resp in gen]
^^^^^^^^^^^^^^^^^^^^^^
File "miniconda3/envs/licsbas/lib/python3.12/site-packages/requests/sessions.py", line 191, in resolve_redirects
raise TooManyRedirects(
requests.exceptions.TooManyRedirects: Exceeded 30 redirects.
or
Download geotiff of unw and cc
Traceback (most recent call last):
File "LiCSBAS2/bin/LiCSBAS01_get_geotiff.py", line 500, in <module>
sys.exit(main())
^^^^^^
File "LiCSBAS2/bin/LiCSBAS01_get_geotiff.py", line 340, in main
print('{} IFGs available from {} to {}'.format(n_ifg, imdates[0], imdates[-1]), flush=True)
~~~~~~~^^^
IndexError: list index out of range
The bug was fixed in LiCSBAS2 (https://github.com/yumorishita/LiCSBAS2/pull/55). Please use LiCSBAS2 or apply the fix in your local LiCSBAS script.
What are vel(1) and vel(2) in LiCSBAS_plot_ts.py?
They correspond to cum*.h5 files indicated by -i and --i2 options. By default vel(1) and vel(2) are velocities of filtered and unfiltered time series, respectively.
https://github.com/yumorishita/LiCSBAS/issues/117#issuecomment-878956383
Cannot download files or the downloading speed is slow in LiCSBAS01_get_geotiff.py.
It could be because of LiCSAR server maintenance and there is nothing to do from the LiCSBAS side. Please contact COMET. https://comet.nerc.ac.uk/comet-lics-portal/ [email protected] https://x.com/COMET_database
Dear Professor, can LICSBAS process cc and unw data processed by envi
Yes, as long as you prepare the files with the correct format for LiCSBAS. https://github.com/yumorishita/LiCSBAS/wiki/file_structure#input-for-step-1-1-or-steps-0-3-to-0-5-output-of-step-0-2
If you are using the COMET version LiCSBAS, I cannot support it. Please report any issues to its repository.