You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create HDF5 file F:\S1-Lantau-HKIA\mintpy\mintpy\inputs\ifgramStack.h5 with w mode
create dataset /unwrapPhase of <class 'numpy.float32'> in size of (1628, 3300, 1900) with compression = None
[> ]Traceback (most recent call last):
File "C:\Users\User\miniconda3\envs\mintpy_env\Scripts\smallbaselineApp.py-script.py", line 9, in
sys.exit(main())
File "C:\Users\User\miniconda3\envs\mintpy_env\lib\site-packages\mintpy\cli\smallbaselineApp.py", line 209, in main
run_smallbaselineApp(inps)
File "C:\Users\User\miniconda3\envs\mintpy_env\lib\site-packages\mintpy\smallbaselineApp.py", line 1155, in run_smallbaselineApp
app.run(steps=inps.runSteps)
File "C:\Users\User\miniconda3\envs\mintpy_env\lib\site-packages\mintpy\smallbaselineApp.py", line 908, in run
self.run_load_data(sname)
File "C:\Users\User\miniconda3\envs\mintpy_env\lib\site-packages\mintpy\smallbaselineApp.py", line 176, in run_load_data
mintpy.cli.load_data.main(iargs)
File "C:\Users\User\miniconda3\envs\mintpy_env\lib\site-packages\mintpy\cli\load_data.py", line 123, in main
load_data(inps)
File "C:\Users\User\miniconda3\envs\mintpy_env\lib\site-packages\mintpy\load_data.py", line 880, in load_data
stack_obj.write2hdf5(
File "C:\Users\User\miniconda3\envs\mintpy_env\lib\site-packages\mintpy\objects\stackDict.py", line 215, in write2hdf5
ds[i, :, :] = data
File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "C:\Users\User\miniconda3\envs\mintpy_env\lib\site-packages\h5py_hl\dataset.py", line 997, in setitem
mspace = h5s.create_simple(selection.expand_shape(mshape))
File "C:\Users\User\miniconda3\envs\mintpy_env\lib\site-packages\h5py_hl\selections.py", line 264, in expand_shape
raise TypeError("Can't broadcast %s -> %s" % (source_shape, self.array_shape)) # array shape
TypeError: Can't broadcast (0, 0) -> (3300, 1900)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
create HDF5 file F:\S1-Lantau-HKIA\mintpy\mintpy\inputs\ifgramStack.h5 with w mode
create dataset /unwrapPhase of <class 'numpy.float32'> in size of (1628, 3300, 1900) with compression = None
[> ]Traceback (most recent call last):
File "C:\Users\User\miniconda3\envs\mintpy_env\Scripts\smallbaselineApp.py-script.py", line 9, in
sys.exit(main())
File "C:\Users\User\miniconda3\envs\mintpy_env\lib\site-packages\mintpy\cli\smallbaselineApp.py", line 209, in main
run_smallbaselineApp(inps)
File "C:\Users\User\miniconda3\envs\mintpy_env\lib\site-packages\mintpy\smallbaselineApp.py", line 1155, in run_smallbaselineApp
app.run(steps=inps.runSteps)
File "C:\Users\User\miniconda3\envs\mintpy_env\lib\site-packages\mintpy\smallbaselineApp.py", line 908, in run
self.run_load_data(sname)
File "C:\Users\User\miniconda3\envs\mintpy_env\lib\site-packages\mintpy\smallbaselineApp.py", line 176, in run_load_data
mintpy.cli.load_data.main(iargs)
File "C:\Users\User\miniconda3\envs\mintpy_env\lib\site-packages\mintpy\cli\load_data.py", line 123, in main
load_data(inps)
File "C:\Users\User\miniconda3\envs\mintpy_env\lib\site-packages\mintpy\load_data.py", line 880, in load_data
stack_obj.write2hdf5(
File "C:\Users\User\miniconda3\envs\mintpy_env\lib\site-packages\mintpy\objects\stackDict.py", line 215, in write2hdf5
ds[i, :, :] = data
File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "C:\Users\User\miniconda3\envs\mintpy_env\lib\site-packages\h5py_hl\dataset.py", line 997, in setitem
mspace = h5s.create_simple(selection.expand_shape(mshape))
File "C:\Users\User\miniconda3\envs\mintpy_env\lib\site-packages\h5py_hl\selections.py", line 264, in expand_shape
raise TypeError("Can't broadcast %s -> %s" % (source_shape, self.array_shape)) # array shape
TypeError: Can't broadcast (0, 0) -> (3300, 1900)
How can I fix this error?
Beta Was this translation helpful? Give feedback.
All reactions