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

error in LiCSBAS11_check_unw.py -d GEOCml1 #273

Closed
sajid-zaman opened this issue Jul 29, 2023 · 3 comments
Closed

error in LiCSBAS11_check_unw.py -d GEOCml1 #273

sajid-zaman opened this issue Jul 29, 2023 · 3 comments

Comments

@sajid-zaman
Copy link

I am processing the data for Chaman Fault in western Pakistan, but there is an error in LiCSBAS11_check_unw.py
t.txt
Here i try to process different area images, but have same issue, please help to find issue.
(licsbas) sajid@LAPTOP-0BVHFV8E:/mnt/d/MACD/137A_04835_131313$ LiCSBAS11_check_unw.py -d GEOCml1>t.txt
Traceback (most recent call last):
File "/mnt/d/MACD/042A_05933_131313/LiCSBAS/bin/LiCSBAS11_check_unw.py", line 356, in
sys.exit(main())
File "/mnt/d/MACD/042A_05933_131313/LiCSBAS/bin/LiCSBAS11_check_unw.py", line 331, in main
plot_lib.plot_network(ifgdates, bperp, [], pngfile)
File "/mnt/d/MACD/042A_05933_131313/LiCSBAS/LiCSBAS_lib/LiCSBAS_plot_lib.py", line 285, in plot_network
ax.grid(b=True, which='major')
File "/home/sajid/miniconda3/envs/licsbas/lib/python3.9/site-packages/matplotlib/axes/_base.py", line 3194, in grid
self.xaxis.grid(visible, which=which, **kwargs)
File "/home/sajid/miniconda3/envs/licsbas/lib/python3.9/site-packages/matplotlib/axis.py", line 1660, in grid
self.set_tick_params(which='major', **gridkw)
File "/home/sajid/miniconda3/envs/licsbas/lib/python3.9/site-packages/matplotlib/axis.py", line 932, in set_tick_params
kwtrans = self._translate_tick_params(kwargs)
File "/home/sajid/miniconda3/envs/licsbas/lib/python3.9/site-packages/matplotlib/axis.py", line 1076, 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
Copy link
Owner

#244 (comment)

@khakim
Copy link

khakim commented Apr 9, 2024

Dear Yumorishita,

I have the same problem with LiCSBAS11_check_unw.py as below:

LiCSBAS11_check_unw.py ver1.3.3 20210402 Y. Morishita
LiCSBAS11_check_unw.py -d GEOCml1

coh_thre : 0.05
unw_cov_thre : 0.3
Traceback (most recent call last):
File "/usr/local/LiCSBAS2/bin/LiCSBAS11_check_unw.py", line 356, in
sys.exit(main())
File "/usr/local/LiCSBAS2/bin/LiCSBAS11_check_unw.py", line 175, in main
width = int(io_lib.get_param_par(mlipar, 'range_samples'))
File "/usr/local/LiCSBAS2/LiCSBAS_lib/LiCSBAS_io_lib.py", line 236, in get_param_par
value = subp.check_output(['grep', field,mlipar]).decode().split()[1].strip()
File "/home/khakim/anaconda3/lib/python3.9/subprocess.py", line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/home/khakim/anaconda3/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['grep', 'range_samples', ... /GEOCml1/slc.mli.par']' returned non-zero exit status 1.

Please help to solve it.

@yumorishita
Copy link
Owner

#97 (comment)

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

No branches or pull requests

3 participants