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

gacos correction error #408

Open
maulanaheno opened this issue Sep 30, 2024 · 2 comments
Open

gacos correction error #408

maulanaheno opened this issue Sep 30, 2024 · 2 comments

Comments

@maulanaheno
Copy link

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

Convert ztd/sltd.geo.tif files to sltd.geo files...
20/ 20 sltd already exist. Skip

Correct unw data...
76/ 76 corrected unw already exist. Skip

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

can you help me to fix this issue??

@maulanaheno
Copy link
Author

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

Convert ztd/sltd.geo.tif files to sltd.geo files... 20/ 20 sltd already exist. Skip

Correct unw data... 76/ 76 corrected unw already exist. Skip

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

can you help me to fix this issue??

I already found the problem, its because the reduction rate after gacos correction of all ifg are negative. But what negative reduction rate means? could you explain it?

@yumorishita
Copy link
Owner

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

2 participants