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
searching geometry files info
input data files:
height : ../geom_reference/hgt.rdr
latitude : ../geom_reference/lat.flt
longitude : ../geom_reference/lon.flt
incidenceAngle : ../geom_reference/los.rdr
azimuthAngle : ../geom_reference/los.rdr
create HDF5 file /mnt/d/kalman/cb_process/cb_mintpy/mintpy/inputs/geometryRadar.h5 with w mode
create dataset /height of <class 'numpy.float32'> in size of (10591, 25934) with compression = lzf
create dataset /latitude of <class 'numpy.float32'> in size of (10591, 25934) with compression = lzf
create dataset /longitude of <class 'numpy.float32'> in size of (10591, 25934) with compression = lzf
create dataset /incidenceAngle of <class 'numpy.float32'> in size of (10591, 25934) with compression = lzf
create dataset /azimuthAngle of <class 'numpy.float32'> in size of (10591, 25934) with compression = lzf
prepare slantRangeDistance ...
create dataset /slantRangeDistance of <class 'numpy.float32'> in size of (3189, 3704) with compression = lzf
add extra metadata: {'PROJECT_NAME': 'cb_mintpy_config'}
Finished writing to /mnt/d/kalman/cb_process/cb_mintpy/mintpy/inputs/geometryRadar.h5
searching interferogram pairs info
input data files:
unwrapPhase : ../../interferograms//merged/filt_topophase.unw
coherence : ../../interferograms//merged/phsig.cor
connectComponent: ../../interferograms/*/merged/filt_topophase.unw.conncomp
Traceback (most recent call last):
File "/home/vaish/anaconda3/envs/aria/bin/smallbaselineApp.py", line 8, in
sys.exit(main())
^^^^^^
File "/home/vaish/anaconda3/envs/aria/lib/python3.12/site-packages/mintpy/cli/smallbaselineApp.py", line 209, in main
run_smallbaselineApp(inps)
File "/home/vaish/anaconda3/envs/aria/lib/python3.12/site-packages/mintpy/smallbaselineApp.py", line 1155, in run_smallbaselineApp
app.run(steps=inps.runSteps)
File "/home/vaish/anaconda3/envs/aria/lib/python3.12/site-packages/mintpy/smallbaselineApp.py", line 908, in run
self.run_load_data(sname)
File "/home/vaish/anaconda3/envs/aria/lib/python3.12/site-packages/mintpy/smallbaselineApp.py", line 176, in run_load_data
mintpy.cli.load_data.main(iargs)
File "/home/vaish/anaconda3/envs/aria/lib/python3.12/site-packages/mintpy/cli/load_data.py", line 123, in main
load_data(inps)
File "/home/vaish/anaconda3/envs/aria/lib/python3.12/site-packages/mintpy/load_data.py", line 871, in load_data
stack_obj = read_inps_dict2ifgram_stack_dict_object(iDict, ds_name2tmpl_opt)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vaish/anaconda3/envs/aria/lib/python3.12/site-packages/mintpy/load_data.py", line 351, in read_inps_dict2ifgram_stack_dict_object
dsPathDict = skip_files_with_inconsistent_size(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vaish/anaconda3/envs/aria/lib/python3.12/site-packages/mintpy/load_data.py", line 288, in skip_files_with_inconsistent_size
date12_list = [atr['DATE12'] for atr in atr_list]
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
-
Hi I am getting this error every time I run
smallbaselineApp.py cb_mintpy_config.txt, my config file is
vim: set filetype=cfg:
##------------------------------- ISCE/topsStack ----------------------##
#ssaraopt = --platform=SENTINEL-1A,SENTINEL-1B -r 128 -f 589,590,591,592,593 -e 2017-07-01
#sentinelStack.boundingBox = '-1 0.15 -91.6 -90.9'
#sentinelStack.subswath = 1 2 # comment
#sentinelStack.numConnections = 5 # comment
#sentinelStack.azimuthLooks = 5 # comment
#sentinelStack.rangeLooks = 15 # comment
#sentinelStack.filtStrength = 0.2 # comment
#sentinelStack.unwMethod = snaphu # comment
#sentinelStack.coregistration = auto # comment
#subset.y0:y1,x0:x1 = 1150:1600,1070:1670
##-------------------------------- MintPy -----------------------------##
########## 1. Load Data (--load to exit after this step)
load_data.py -H to check more details and example inputs.
mintpy.load.processor = isce
##---------for ISCE only:
mintpy.load.metaFile = ../../interferograms//reference/IW2.xml
mintpy.load.baselineDir = ../baselines
##---------interferogram datasets:
mintpy.load.unwFile = ../../interferograms//merged/filt_topophase.unw
mintpy.load.corFile = ../../interferograms//merged/phsig.cor
mintpy.load.connCompFile = ../../interferograms//merged/filt_topophase.unw.conncomp
##---------geometry datasets:
mintpy.load.demFile = ../geom_reference/hgt.rdr
mintpy.load.lookupYFile = ../geom_reference/lat.flt
mintpy.load.lookupXFile = ../geom_reference/lon.flt
mintpy.load.incAngleFile = ../geom_reference/los.rdr
mintpy.load.azAngleFile = ../geom_reference/los.rdr
mintpy.load.shadowMaskFile = None
mintpy.load.waterMaskFile = None
mintpy.reference.lalo = 69.12, -105.04
#mintpy.topographicResidual.stepFuncDate = 20170910,20180613 #eruption dates
mintpy.deramp = linear
error:
load_data.py --template /mnt/d/kalman/cb_process/cb_mintpy/mintpy/smallbaselineApp.cfg /mnt/d/kalman/cb_process/cb_mintpy/mintpy/cb_mintpy_config.txt --project cb_mintpy_config
processor : isce
SAR platform/sensor : unknown from project name "cb_mintpy_config"
prepare metadata files for isce products
prep_isce.py -m ../../interferograms/20171204_20171216/reference/IW2.xml -g /mnt/d/kalman/cb_process/cb_mintpy/geom_reference -b ../baselines -f "../../interferograms//merged/filt_topophase.unw" --geom-files hgt.rdr lat.flt lon.flt los.rdr los.rdr
['../../interferograms/20171204_20171216/reference/data.rsc'] exists and is newer than ['../../interferograms/20171204_20171216/reference/IW2.xml'] --> skip.
preparing RSC file for geometry files
read perp baseline time-series from ../baselines
preparing RSC file for: ../../interferograms//merged/filt_topophase.unw
[=> 5% ] 20171228_20180109 2/40 0s / 0s/home/vaish/anaconda3/envs/aria/lib/python3.12/site-packages/mintpy/load_data.py:711: UserWarning: prep_isce.py failed. Assuming its result exists and continue...
warnings.warn('prep_isce.py failed. Assuming its result exists and continue...')
updateMode : True
compression: None
multilook x/ystep: 1/1
multilook method : nearest
searching geometry files info
input data files:
height : ../geom_reference/hgt.rdr
latitude : ../geom_reference/lat.flt
longitude : ../geom_reference/lon.flt
incidenceAngle : ../geom_reference/los.rdr
azimuthAngle : ../geom_reference/los.rdr
create HDF5 file /mnt/d/kalman/cb_process/cb_mintpy/mintpy/inputs/geometryRadar.h5 with w mode
create dataset /height of <class 'numpy.float32'> in size of (10591, 25934) with compression = lzf
create dataset /latitude of <class 'numpy.float32'> in size of (10591, 25934) with compression = lzf
create dataset /longitude of <class 'numpy.float32'> in size of (10591, 25934) with compression = lzf
create dataset /incidenceAngle of <class 'numpy.float32'> in size of (10591, 25934) with compression = lzf
create dataset /azimuthAngle of <class 'numpy.float32'> in size of (10591, 25934) with compression = lzf
prepare slantRangeDistance ...
create dataset /slantRangeDistance of <class 'numpy.float32'> in size of (3189, 3704) with compression = lzf
add extra metadata: {'PROJECT_NAME': 'cb_mintpy_config'}
Finished writing to /mnt/d/kalman/cb_process/cb_mintpy/mintpy/inputs/geometryRadar.h5
searching interferogram pairs info
input data files:
unwrapPhase : ../../interferograms//merged/filt_topophase.unw
coherence : ../../interferograms//merged/phsig.cor
connectComponent: ../../interferograms/*/merged/filt_topophase.unw.conncomp
Traceback (most recent call last):
File "/home/vaish/anaconda3/envs/aria/bin/smallbaselineApp.py", line 8, in
sys.exit(main())
^^^^^^
File "/home/vaish/anaconda3/envs/aria/lib/python3.12/site-packages/mintpy/cli/smallbaselineApp.py", line 209, in main
run_smallbaselineApp(inps)
File "/home/vaish/anaconda3/envs/aria/lib/python3.12/site-packages/mintpy/smallbaselineApp.py", line 1155, in run_smallbaselineApp
app.run(steps=inps.runSteps)
File "/home/vaish/anaconda3/envs/aria/lib/python3.12/site-packages/mintpy/smallbaselineApp.py", line 908, in run
self.run_load_data(sname)
File "/home/vaish/anaconda3/envs/aria/lib/python3.12/site-packages/mintpy/smallbaselineApp.py", line 176, in run_load_data
mintpy.cli.load_data.main(iargs)
File "/home/vaish/anaconda3/envs/aria/lib/python3.12/site-packages/mintpy/cli/load_data.py", line 123, in main
load_data(inps)
File "/home/vaish/anaconda3/envs/aria/lib/python3.12/site-packages/mintpy/load_data.py", line 871, in load_data
stack_obj = read_inps_dict2ifgram_stack_dict_object(iDict, ds_name2tmpl_opt)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vaish/anaconda3/envs/aria/lib/python3.12/site-packages/mintpy/load_data.py", line 351, in read_inps_dict2ifgram_stack_dict_object
dsPathDict = skip_files_with_inconsistent_size(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/vaish/anaconda3/envs/aria/lib/python3.12/site-packages/mintpy/load_data.py", line 288, in skip_files_with_inconsistent_size
date12_list = [atr['DATE12'] for atr in atr_list]
any help would be so appreciated.
Beta Was this translation helpful? Give feedback.
All reactions