-
Notifications
You must be signed in to change notification settings - Fork 299
Closed
Labels
Description
Description of the problem
Network inversion step of smallbaselineApp fails.
Full script that generated the error
smallbaselineApp.py --dostep invert_network
Full error message
MintPy version v1.3.2, date 2021-11-21
--RUN-at-2022-02-09 00:04:16.013738--
Current directory: /home/jovyan/SES/calval/central_valley/MintPy
Run routine processing with smallbaselineApp.py on steps: ['invert_network']
Remaining steps: ['correct_LOD', 'correct_SET', 'correct_troposphere', 'deramp', 'correct_topography', 'residual_RMS', 'reference_date', 'velocity', 'geocode', 'google_earth', 'hdfeos5']
--------------------------------------------------
Project name: central_valley_Sen
Go to work directory: /home/jovyan/SES/calval/central_valley/MintPy
read custom template file: /home/jovyan/SES/calval/central_valley/MintPy/central_valley_Sen.cfg
update default template based on input custom template
No new option value found, skip updating /home/jovyan/SES/calval/central_valley/MintPy/smallbaselineApp.cfg
read default template file: /home/jovyan/SES/calval/central_valley/MintPy/smallbaselineApp.cfg
******************** step - invert_network ********************
Input data seems to be geocoded. Lookup file not needed.
ifgram_inversion.py /home/jovyan/SES/calval/central_valley/MintPy/inputs/ifgramStack.h5 -t /home/jovyan/SES/calval/central_valley/MintPy/smallbaselineApp.cfg --update
use dataset "unwrapPhase" by default
--------------------------------------------------
update mode: ON
1) NOT ALL output files found: ['timeseries.h5', 'temporalCoherence.h5', 'numInvIfgram.h5'].
run or skip: run.
save the original settings of ['OMP_NUM_THREADS', 'OPENBLAS_NUM_THREADS', 'MKL_NUM_THREADS', 'NUMEXPR_NUM_THREADS', 'VECLIB_MAXIMUM_THREADS']
set OMP_NUM_THREADS = 1
set OPENBLAS_NUM_THREADS = 1
set MKL_NUM_THREADS = 1
set NUMEXPR_NUM_THREADS = 1
set VECLIB_MAXIMUM_THREADS = 1
reference pixel in y/x: (803, 231) from dataset: unwrapPhase
Traceback (most recent call last):
File "/home/jovyan/.local/envs/mintpy/bin/smallbaselineApp.py", line 8, in <module>
sys.exit(main())
File "/home/jovyan/.local/envs/mintpy/lib/python3.9/site-packages/mintpy/smallbaselineApp.py", line 1275, in main
app.run(steps=inps.runSteps)
File "/home/jovyan/.local/envs/mintpy/lib/python3.9/site-packages/mintpy/smallbaselineApp.py", line 1055, in run
self.run_network_inversion(sname)
File "/home/jovyan/.local/envs/mintpy/lib/python3.9/site-packages/mintpy/smallbaselineApp.py", line 561, in run_network_inversion
mintpy.ifgram_inversion.main(iargs)
File "/home/jovyan/.local/envs/mintpy/lib/python3.9/site-packages/mintpy/ifgram_inversion.py", line 1425, in main
ifgram_inversion(inps)
File "/home/jovyan/.local/envs/mintpy/lib/python3.9/site-packages/mintpy/ifgram_inversion.py", line 1197, in ifgram_inversion
inps.refPhase = stack_obj.get_reference_phase(unwDatasetName=inps.obsDatasetName,
File "/home/jovyan/.local/envs/mintpy/lib/python3.9/site-packages/mintpy/objects/stack.py", line 870, in get_reference_phase
ref_phase = self.read(datasetName=unwDatasetName,
File "/home/jovyan/.local/envs/mintpy/lib/python3.9/site-packages/mintpy/objects/stack.py", line 763, in read
data = ds[dateFlag,
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 "/home/jovyan/.local/envs/mintpy/lib/python3.9/site-packages/h5py/_hl/dataset.py", line 783, in __getitem__
selection = sel.select(self.shape, args, dataset=self)
File "/home/jovyan/.local/envs/mintpy/lib/python3.9/site-packages/h5py/_hl/selections.py", line 82, in select
return selector.make_selection(args)
File "h5py/_selector.pyx", line 272, in h5py._selector.Selector.make_selection
File "h5py/_selector.pyx", line 183, in h5py._selector.Selector.apply_args
TypeError: Indexing arrays must have integer dtypes
System information
- Operating system: Linux (NISAR On-demand instance)
- Python environment: Conda
- Version of MintPy: MintPy version v1.3.2, date 2021-11-21
- Your custom / default template file (if the bug is related to a specific dataset):
central_valley_Sen.txt
Reactions are currently unavailable