Skip to content
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

Known issues and FAQ #244

Open
yumorishita opened this issue Apr 6, 2023 · 33 comments
Open

Known issues and FAQ #244

yumorishita opened this issue Apr 6, 2023 · 33 comments
Labels
good first issue Good for newcomers

Comments

@yumorishita
Copy link
Owner

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 yumorishita added the good first issue Good for newcomers label Apr 6, 2023
@yumorishita
Copy link
Owner Author

ValueError: keyword grid_b is not recognized
#228
#224
#219
Downgrade matplotlib, e.g., to 3.1.

@yumorishita
Copy link
Owner Author

ValueError: A colormap named "SCM.roma0" is already registered
#176 (comment)
#195 (comment)
#198
Downgrade matplotlib, e.g., to 3.4.2.

@yumorishita
Copy link
Owner Author

yumorishita commented Apr 8, 2023

Step16 (LiCSBAS16_filt_ts.py) get stuck.
#62
#86
Try p16_n_para="1".

p16_n_para="" # default: # of usable CPU

Other parallel processing in other steps may also stuck. It seems that WSL tends to have such a stuck issue. I suggest using the VirtualBox.

@terramare55
Copy link

Problem solved. It worked!
Thank you again

@yumorishita
Copy link
Owner Author

ModuleNotFoundError: No module named '_gdal'

#299

@yumorishita
Copy link
Owner Author

yumorishita commented Jan 29, 2024

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/.
#323 (comment)

@yumorishita
Copy link
Owner Author

Merge frames: #24

@yumorishita
Copy link
Owner Author

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

#6
#56
#63
#284
#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

@marchelgamaliel
Copy link

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?

@yumorishita
Copy link
Owner Author

About reference point: #102, #266

@yumorishita yumorishita mentioned this issue Mar 10, 2024
@yumorishita
Copy link
Owner Author

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_'?

#307 (comment)

@yumorishita
Copy link
Owner Author

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.

@shabiss
Copy link

shabiss commented Sep 12, 2024

Dear professor,how can i change the ref_area to get velocity after i complete all steps?

@yumorishita
Copy link
Owner Author

#244 (comment)

@pratanu9083
Copy link

pratanu9083 commented Sep 17, 2024

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.

Dear Professor,

How to update LiCSBAS to LiCSBAS2?

@yumorishita
Copy link
Owner Author

How to update LiCSBAS to LiCSBAS2?

Remove LiCSABS and install LiCSBAS2.

@pratanu9083
Copy link

Dear Professor,

Thank you for your answer.

I am not able to find the instructions for installing LiCSBAS2.

Can you please provide ?

@yumorishita
Copy link
Owner Author

Same as LiCSBAS.

@pratanu9083
Copy link

Dear Professor,

I only found one installation process. ( mentoned in the link: https://github.com/yumorishita/LiCSBAS/wiki/1_Installation)

And if the instruction is same, what is the difference between licsbas and licsbas2 installation?

Please help me to install licsbas2.

@yumorishita
Copy link
Owner Author

Replace git clone https://github.com/yumorishita/LiCSBAS.git with git clone https://github.com/yumorishita/LiCSBAS2.git.

@pratanu9083
Copy link

pratanu9083 commented Sep 19, 2024 via email

@adillahana
Copy link

Dear Professor,
I found an error that saying this:

Traceback (most recent call last):
File "/home/darmasanjaya/LiCSBAS2/bin/LiCSBAS03op_GACOS.py", line 549, in
sys.exit(main())
File "/home/darmasanjaya/LiCSBAS2/bin/LiCSBAS03op_GACOS.py", line 368, in main
plot_lib.plot_gacos_info(gacinfofile, pngfile)
File "/home/darmasanjaya/LiCSBAS2/LiCSBAS_lib/LiCSBAS_plot_lib.py", line 152, in plot_gacos_info
xylim1 = np.max(np.concatenate((std_bf, std_af)))+1
File "<array_function internals>", line 180, in amax
File "/home/darmasanjaya/miniconda3/envs/adillahana/lib/python3.9/site-packages/numpy/core/fromnumeric.py", line 2791, in amax
return _wrapreduction(a, np.maximum, 'max', axis, None, out,
File "/home/darmasanjaya/miniconda3/envs/adillahana/lib/python3.9/site-packages/numpy/core/fromnumeric.py", line 86, in _wrapreduction
return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
ValueError: zero-size array to reduction operation maximum which has no identity

How could i solve it? Thank you Prof

@yumorishita
Copy link
Owner Author

#252
#120
#87

@adillahana
Copy link

adillahana commented Oct 27, 2024

Hii Prof.. I have an issue when running the batch script that stop in this step for a long time. I've made sure that connection and storage is okay. Before this, it can run successfull but when i do run again it stuck there. How could i solve this? Thank you Prof.

Elapsed time: 00h 00m 23s

LiCSBAS02_ml_prep.py Successfully finished!!

Output directory: GEOCml1

LiCSBAS03op_GACOS.py ver1.5.5 20201119 Y. Morishita
LiCSBAS03op_GACOS.py -i GEOCml1 -o GEOCml1GACOS --fillhole

Convert ztd/sltd.geo.tif files to sltd.geo files...
8 parallel processing...
Finished 0/ 9th sltd...
Use 20181007.sltd.geo.tif
Use 20181031.sltd.geo.tif
Use 20181019.sltd.geo.tif
Use 20181112.sltd.geo.tif
Use 20181206.sltd.geo.tif
Use 20181218.sltd.geo.tif
Use 20181230.sltd.geo.tif
Use 20181124.sltd.geo.tif
Use 20190111.sltd.geo.tif

Correct unw data...
8 parallel processing...
Finished 0/ 21th unw...
Finished 10/ 21th unw...
Finished 20/ 21th unw...

@yumorishita
Copy link
Owner Author

#244 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

7 participants