LiCSBAS icon indicating copy to clipboard operation
LiCSBAS copied to clipboard

Known issues and FAQ

Open yumorishita opened this issue 1 year ago • 29 comments

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.

yumorishita avatar Apr 06 '23 11:04 yumorishita

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.

yumorishita avatar Apr 06 '23 11:04 yumorishita

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.

yumorishita avatar Apr 06 '23 11:04 yumorishita

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

yumorishita avatar Apr 08 '23 12:04 yumorishita

Problem solved. It worked! Thank you again

terramare55 avatar Jul 21 '23 15:07 terramare55

ModuleNotFoundError: No module named '_gdal'

https://github.com/yumorishita/LiCSBAS/issues/299

yumorishita avatar Oct 30 '23 12:10 yumorishita

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

yumorishita avatar Jan 29 '24 11:01 yumorishita

Merge frames: https://github.com/yumorishita/LiCSBAS/issues/24

yumorishita avatar Feb 11 '24 10:02 yumorishita

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

yumorishita avatar Feb 15 '24 11:02 yumorishita

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?

marchelgamaliel avatar Feb 15 '24 14:02 marchelgamaliel

About reference point: https://github.com/yumorishita/LiCSBAS/issues/102, https://github.com/yumorishita/LiCSBAS/issues/266

yumorishita avatar Feb 26 '24 12:02 yumorishita

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

yumorishita avatar Mar 14 '24 12:03 yumorishita

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.

yumorishita avatar Mar 20 '24 12:03 yumorishita

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

yumorishita avatar May 03 '24 12:05 yumorishita

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

yumorishita avatar May 09 '24 13:05 yumorishita

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.

yumorishita avatar Jun 08 '24 11:06 yumorishita

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

yumorishita avatar Jun 17 '24 11:06 yumorishita

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

yumorishita avatar Jun 17 '24 11:06 yumorishita

Dear Professor, can LICSBAS process cc and unw data processed by envi

MIEMESSI avatar Jun 17 '24 14:06 MIEMESSI

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

yumorishita avatar Jun 18 '24 12:06 yumorishita

If you are using the COMET version LiCSBAS, I cannot support it. Please report any issues to its repository.

yumorishita avatar Jul 16 '24 11:07 yumorishita