yumorishita / LiCSBAS2

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

clip_GEOCml1 #59

Closed kashkoulimohammad closed 2 weeks ago

kashkoulimohammad commented 2 weeks ago

Hi all, I run the batch_LiCSBAS.py for my interest area but I faced this error: LiCSBAS05op_clip_unw.py ver1.2.5 20210105 Y. Morishita LiCSBAS05op_clip_unw.py -i GEOCml1 -o GEOCml1clip -g 48.516/49.309/33.367/34.065 Traceback (most recent call last): File "/mnt/c/Users/minesite/Desktop/Mousavi/LiCSBAS2-master/bin/LiCSBAS05op_clip_unw.py", line 344, in <module> sys.exit(main()) ^^^^^^ File "/mnt/c/Users/minesite/Desktop/Mousavi/LiCSBAS2-master/bin/LiCSBAS05op_clip_unw.py", line 160, in main width = int(io_lib.get_param_par(mlipar, 'range_samples')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/c/Users/minesite/Desktop/Mousavi/LiCSBAS2-master/LiCSBAS_lib/LiCSBAS_io_lib.py", line 236, in get_param_par value = subp.check_output(['grep', field,mlipar]).decode().split()[1].strip() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/miniconda3/envs/licsbas22/lib/python3.12/subprocess.py", line 466, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/miniconda3/envs/licsbas22/lib/python3.12/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['grep', 'range_samples', '/mnt/e/101A_05600_141515/GEOCml1/slc.mli.par']' returned non-zero exit status 1. How can I fix it?

yumorishita commented 2 weeks ago

https://github.com/yumorishita/LiCSBAS2/issues/46

kashkoulimohammad commented 2 weeks ago

It solved. Thank you.