isce2 icon indicating copy to clipboard operation
isce2 copied to clipboard

Error running run_01_unpack_topo_reference: IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

Open afperezm opened this issue 1 month ago • 0 comments

Hello,

I'm trying to generate interferograms using topsStack processor but I am obtaining the following error after I attempt running the run_01_unpack_topo_reference step:

Traceback (most recent call last):
  File "/home/perezmaf/.conda/envs/isce2/share/isce2/topsStack/SentinelWrapper.py", line 251, in <module>
    main(args.start,args.end)
  File "/home/perezmaf/.conda/envs/isce2/share/isce2/topsStack/SentinelWrapper.py", line 242, in main
    cfgParser.runCmd()
  File "/home/perezmaf/.conda/envs/isce2/share/isce2/topsStack/SentinelWrapper.py", line 54, in runCmd
    func_modules.main(self.funcParams[section])
  File "/home/perezmaf/.conda/envs/isce2/share/isce2/topsStack/topo.py", line 112, in main
    bbox = [np.min(boxes[:,0]), np.max(boxes[:,1]), np.min(boxes[:,2]), np.max(boxes[:,3])]
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

I am using ISCE2 2.6.4 on Python 3.10 to generate the interferogram workflow using the following command:

stackSentinel.py --slc_directory ./SLC/ --orbit_directory ./Orbits/ --aux_directory ./AuxDir/ --dem ./DEM/demLat_N65_N68_Lon_W137_W130.dem.wgs84 --polarization VV --workflow interferogram --swath_num '1 2 3' --bbox '65.618996 67.686104 -136.927795 -130.405411' --coregistration geometry --reference_date 20200701 --num_connections 3 --azimuth_looks 5 --range_looks 15ts

I have downloaded the precise orbits using Sentinel EOF from Copernicus Data Space Ecosystem as follows:

eof --search-path ./SLC/ --save-dir ./Orbits/

I have also attempted to manually download the orbits from https://s1qc.asf.alaska.edu/aux_poeorb/ obtaining the same error. It seems to me there is a problem parsing orbits files after the endpoint for downloading the orbits was changed.

This issue has already been reported in three seprate issues https://github.com/isce-framework/isce2/issues/255 https://github.com/isce-framework/isce2/issues/791 https://github.com/isce-framework/isce2/issues/965

afperezm avatar Dec 12 '25 22:12 afperezm