Open maulanaheno opened 4 months ago
Probably some of GEOCml1GACOS//unw files have inconsistent file sizes. Remove the inconsistent files or reprocess from start.
Probably some of GEOCml1GACOS//unw files have inconsistent file sizes. Remove the inconsistent files or reprocess from start.
i'still getting same error after remove whole GEOCml1GACOS folder and restart it from beginning using batch processing, if i remove only the inconsistent interferogram, can i still use batch processing or i have to process it each step manually one by one?
Please show the full log.
Please show the full log.
its already fixed itself after restart it, by the way can i convert the displacement raster into tiff?
Use LiCSBAS_flt2geotiff.py.
Use LiCSBAS_flt2geotiff.py.
i mean los displacement from cum.h5 file into geotiff
Use LiCSBAS_cum2flt.py or LiCSBAS_cum2vel.py.
LiCSBAS05op_clip_unw.py ver1.2.5 20210105 Y. Morishita LiCSBAS05op_clip_unw.py -i GEOCml1GACOS -o GEOCml1GACOSclip -g 110.2356/110.5669/-7.8116/-7.4255
Area to be clipped: 0:2676/0:2515 -> 1281:1614/1527:1914 108.9536667/111.6296667/-8.4131111/-5.8981111 -> 110.2351456/110.5672697/-7.8118720/-7.4257185 Width/Length: 2676/2515 -> 333/387
Clip E.geo Copy GACOS_info.png Copy GACOS_info.txt Clip N.geo Clip U.geo Copy baselines Clip hgt Recreate hgt.png Clip slc.mli Recreate slc.mli.png
Clip unw and cc 559/561 clipped unw and cc already exist. Skip 2 parallel processing... 0/ 2th unw... multiprocessing.pool.RemoteTraceback: """ Traceback (most recent call last): File "/home/maulanaheno/miniconda3/envs/licsbas2/lib/python3.12/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, *kwds)) ^^^^^^^^^^^^^^^^^^^ File "/home/maulanaheno/miniconda3/envs/licsbas2/lib/python3.12/multiprocessing/pool.py", line 48, in mapstar return list(map(args)) ^^^^^^^^^^^^^^^^ File "/home/maulanaheno/LiCSBAS2/bin/LiCSBAS05op_clip_unw.py", line 314, in clip_wrapper unw = io_lib.read_img(unwfile, length, width) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/maulanaheno/LiCSBAS2/LiCSBAS_lib/LiCSBAS_io_lib.py", line 199, in read_img data = np.fromfile(file, dtype=dtype).reshape((length, width)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: cannot reshape array of size 6729728 into shape (2515,2676) """
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/home/maulanaheno/LiCSBAS2/bin/LiCSBAS05op_clip_unw.py", line 344, in
sys.exit(main())
^^^^^^
File "/home/maulanaheno/LiCSBAS2/bin/LiCSBAS05op_clip_unw.py", line 290, in main
p.map(clip_wrapper, range(n_ifg2))
File "/home/maulanaheno/miniconda3/envs/licsbas2/lib/python3.12/multiprocessing/pool.py", line 367, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/maulanaheno/miniconda3/envs/licsbas2/lib/python3.12/multiprocessing/pool.py", line 774, in get
raise self._value
ValueError: cannot reshape array of size 6729728 into shape (2515,2676)
can you tell me whats the solution to this error?