yumorishita / LiCSBAS2

GNU General Public License v3.0
18 stars 2 forks source link

Error in LiCSBAS11_check_unw.py #17

Closed vdurandETH closed 1 year ago

vdurandETH commented 1 year ago

Dear Morishita,

running batch_LiCSBAS.sh, I have the following error:

image

I understand the problem, but I do not see how to overcome it, and I do not understand why there is this problem? To note: when downloading the files from the COMET website, there has been several "unw" files not downloaded:

image

I don't know if it can be linked?

I thank you in advance for your help.

yumorishita commented 1 year ago

Some of the cc files are corrupted. Please check the file size by ls -l GEOCml1/*.cc and remove the corrupted ones.

tizianovittori commented 1 year ago

Hi! I have got exactly the same issue, but the process was smooth up to there, i.e., no errors or warnings of any kind. Can it be a problem with new version of a python module? Moreover, I cannot detect any corrupted file. Your help will be much appreciated. Your tool is so great! It's a pity I am unable to use it

tizianovittori commented 1 year ago

This is the error message:

Reading unw and cc data... 0/211th unw to identify valid area... 100/211th unw to identify valid area... 200/211th unw to identify valid area... 0/211th cc and unw... 100/211th cc and unw... 200/211th cc and unw...

0/211 ifgs are discarded from further processing. ifg dates unw_cov coh_av Traceback (most recent call last): File "/home/tiziano/licsbas/LiCSBAS/bin/LiCSBAS11_check_unw.py", line 356, in sys.exit(main()) File "/home/tiziano/licsbas/LiCSBAS/bin/LiCSBAS11_check_unw.py", line 331, in main plot_lib.plot_network(ifgdates, bperp, [], pngfile) File "/home/tiziano/licsbas/LiCSBAS/LiCSBAS_lib/LiCSBAS_plot_lib.py", line 285, in plot_network ax.grid(b=True, which='major') File "/home/tiziano/anaconda3/lib/python3.10/site-packages/matplotlib/axes/_base.py", line 3196, in grid self.xaxis.grid(visible, which=which, kwargs) File "/home/tiziano/anaconda3/lib/python3.10/site-packages/matplotlib/axis.py", line 1655, in grid self.set_tick_params(which='major', gridkw) File "/home/tiziano/anaconda3/lib/python3.10/site-packages/matplotlib/axis.py", line 927, in set_tick_params kwtrans = self._translate_tick_params(kwargs) File "/home/tiziano/anaconda3/lib/python3.10/site-packages/matplotlib/axis.py", line 1071, in _translate_tick_params raise ValueError( ValueError: keyword grid_b is not recognized; valid keywords are ['size', 'width', 'color', 'tickdir', 'pad', 'labelsize', 'labelcolor', 'zorder', 'gridOn', 'tick1On', 'tick2On', 'label1On', 'label2On', 'length', 'direction', 'left', 'bottom', 'right', 'top', 'labelleft', 'labelbottom', 'labelright', 'labeltop', 'labelrotation', 'grid_agg_filter', 'grid_alpha', 'grid_animated', 'grid_antialiased', 'grid_clip_box', 'grid_clip_on', 'grid_clip_path', 'grid_color', 'grid_dash_capstyle', 'grid_dash_joinstyle', 'grid_dashes', 'grid_data', 'grid_drawstyle', 'grid_figure', 'grid_fillstyle', 'grid_gapcolor', 'grid_gid', 'grid_in_layout', 'grid_label', 'grid_linestyle', 'grid_linewidth', 'grid_marker', 'grid_markeredgecolor', 'grid_markeredgewidth', 'grid_markerfacecolor', 'grid_markerfacecoloralt', 'grid_markersize', 'grid_markevery', 'grid_mouseover', 'grid_path_effects', 'grid_picker', 'grid_pickradius', 'grid_rasterized', 'grid_sketch_params', 'grid_snap', 'grid_solid_capstyle', 'grid_solid_joinstyle', 'grid_transform', 'grid_url', 'grid_visible', 'grid_xdata', 'grid_ydata', 'grid_zorder', 'grid_aa', 'grid_c', 'grid_ds', 'grid_ls', 'grid_lw', 'grid_mec', 'grid_mew', 'grid_mfc', 'grid_mfcalt', 'grid_ms']

yumorishita commented 1 year ago

You are using LiCSBAS, not LiCSBAS2.

tizianovittori commented 1 year ago

You are right! I'll shift immediately to it. Thank you a lot for your prompt reply! Best regards, Eutizio

Eutizio Vittori

Earthquake and geological hazards consultant Tel. +39 3286262766 e-mail: @. @.>com Publications: https://scholar.google.co.in/citations?hl=en&user=8gBVBFUAAAAJ&cstart=0&pagesize=20 ORCID: https://orcid.org/0000-0003-0653-8437

"Qui respicit terram et facit eam tremere, qui tangit montes, et fumigant" (psalmus 104:32)

Funny how just when you think life can't possibly get any worse it suddenly does.. (Marvin)

Il giorno lun 17 apr 2023 alle ore 15:40 Yu Morishita < @.***> ha scritto:

You are using LiCSBAS, not LiCSBAS2.

— Reply to this email directly, view it on GitHub https://github.com/yumorishita/LiCSBAS2/issues/17#issuecomment-1511371678, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARHPCYGVCLKULNOHSEOGJTLXBVB5VANCNFSM6AAAAAAW3YJGSY . You are receiving this because you commented.Message ID: @.***>

vdurandETH commented 1 year ago

Dear Morishita,

Thanks a lot for your fast answer! It now works! :)

tizianovittori commented 1 year ago

Dear Yu, I get this result: [image: image.png] How can I solve it? Sorry for bothering you but I am rather new to this! Thank you! Best regards, Eutizio

Eutizio Vittori

Earthquake and geological hazards consultant Tel. +39 3286262766 e-mail: @. @.>com Publications: https://scholar.google.co.in/citations?hl=en&user=8gBVBFUAAAAJ&cstart=0&pagesize=20 ORCID: https://orcid.org/0000-0003-0653-8437

"Qui respicit terram et facit eam tremere, qui tangit montes, et fumigant" (psalmus 104:32)

Funny how just when you think life can't possibly get any worse it suddenly does.. (Marvin)

Il giorno lun 17 apr 2023 alle ore 15:40 Yu Morishita < @.***> ha scritto:

You are using LiCSBAS, not LiCSBAS2.

— Reply to this email directly, view it on GitHub https://github.com/yumorishita/LiCSBAS2/issues/17#issuecomment-1511371678, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARHPCYGVCLKULNOHSEOGJTLXBVB5VANCNFSM6AAAAAAW3YJGSY . You are receiving this because you commented.Message ID: @.***>

yumorishita commented 1 year ago

I cannot see the image.