Data load

184 views
Skip to first unread message

Frank

unread,
Mar 20, 2022, 11:28:10 PM3/20/22
to MintPy
Hi Yunjun and all,

I am using HYP3 as well, but I guess I encountered the issue of data load. Hope you can give me some hints to solve the issue. Appreciated!

The step of data load seemed to be good, and then I proceeded to invert the network with the following said:

Input data seems to be geocoded. Lookup file not needed. generate_mask.py /home/jovyan/143_new/MintPy/temporalCoherence.h5 -m 0.7 -o /home/jovyan/143_new/MintPy/maskTempCoh.h5 update mode: ON run or skip: run input temporalCoherence file: /home/jovyan/143_new/MintPy/temporalCoherence.h5 read /home/jovyan/143_new/MintPy/temporalCoherence.h5 create initial mask with the same size as the input file and all = 1 all pixels with nan value = 0 exclude pixels with value < 0.7 create HDF5 file: /home/jovyan/143_new/MintPy/maskTempCoh.h5 with w mode create dataset /mask of bool in size of (1324, 1527) with compression=None finished writing to /home/jovyan/143_new/MintPy/maskTempCoh.h5 time used: 00 mins 0.1 secs. number of reliable pixels: 1 Traceback (most recent call last): File "/home/jovyan/.local/envs/insar_analysis/bin/smallbaselineApp.py", line 8, in <module> sys.exit(main()) File "/home/jovyan/.local/envs/insar_analysis/lib/python3.8/site-packages/mintpy/smallbaselineApp.py", line 1270, in main app.run(steps=inps.runSteps) File "/home/jovyan/.local/envs/insar_analysis/lib/python3.8/site-packages/mintpy/smallbaselineApp.py", line 1050, in run self.run_network_inversion(sname) File "/home/jovyan/.local/envs/insar_analysis/lib/python3.8/site-packages/mintpy/smallbaselineApp.py", line 559, in run_network_inversion self.generate_temporal_coherence_mask() File "/home/jovyan/.local/envs/insar_analysis/lib/python3.8/site-packages/mintpy/smallbaselineApp.py", line 614, in generate_temporal_coherence_mask raise RuntimeError(msg) RuntimeError: Not enough reliable pixels (minimum of 100). Try the following: 1) Check the reference pixel and make sure it's not in areas with unwrapping errors 2) Check the network and make sure it's fully connected without subsets

I checked the tempoalCoh and found the temporal coherence is all zeros. 
temporalCoherence.png

I also checked the interferograms using "!info.py $inputs_path/ifgramStack.h5", and found there is only one band, which may be the reason of zero coherence. Also the correct ORBIT_DIRECTION should be in DESCENDING, but I got ASCEDING.

******************** Basic File Info ************************ file name: /home/jovyan/143_new/MintPy/inputs/ifgramStack.h5 file type: ifgramStack coordinates : GEO ******************** HDF5 File Structure ******************** Attributes in / level: ALOOKS 4 ANTENNA_SIDE -1 AZIMUTH_PIXEL_SIZE 56.4 BANDS 1 CENTER_LINE_UTC 44569.813706 DATA_TYPE float32 DATE12 171011-171023 EARTH_RADIUS 6372935.5934 EPSG 4326 FILE_LENGTH 1324 FILE_PATH /home/jovyan/143_new/S1AA_20171011T122249_20171023T122249_VVP012_INT80_G_weF_B624/S1AA_20171011T122249_20171023T122249_VVP012_INT80_G_weF_B624_unw_phase_clip.tif FILE_TYPE ifgramStack HEADING -167.2864061 HEIGHT 699215.9188000001 INTERLEAVE BSQ LAT_REF1 29.000964541489466 LAT_REF2 29.000964541489466 LAT_REF3 30.030386250967663 LAT_REF4 30.030386250967663 LENGTH 1324 LON_REF1 -95.86628301813407 LON_REF2 -94.67902701332046 LON_REF3 -95.86628301813407 LON_REF4 -94.67902701332046 ORBIT_DIRECTION ASCENDING PLATFORM Sen PROCESSOR hyp3 PROJECT_NAME 143_new P_BASELINE_BOTTOM_HDR 47.2777 P_BASELINE_TOP_HDR 47.2777 RANGE_PIXEL_SIZE 46.0 REF_LAT 29.62724791534497 REF_LON -95.04017987136626 REF_X 1062 REF_Y 518 RLOOKS 20 STARTING_RANGE 799900.8131 WAVELENGTH 0.055465764662349676 WIDTH 1527 X_FIRST -95.86628301813407 X_STEP 0.0007775088440167658 X_UNIT degrees Y_FIRST 30.030386250967663 Y_STEP -0.0007775088440167658 Y_UNIT degrees mintpy.load.azAngleFile /home/jovyan/143_new/*/*lv_phi_clip.tif mintpy.load.corFile /home/jovyan/143_new/*/*corr_clip.tif mintpy.load.demFile /home/jovyan/143_new/*/*dem_clip.tif mintpy.load.incAngleFile /home/jovyan/143_new/*/*lv_theta_clip.tif mintpy.load.processor hyp3 mintpy.load.unwFile /home/jovyan/143_new/*/*unw_phase_clip.tif mintpy.load.waterMaskFile /home/jovyan/143_new/*/*water_mask_clip.tif HDF5 dataset "/bperp ": shape (694,) , dtype <float32> HDF5 dataset "/coherence ": shape (694, 1324, 1527) , dtype <float32> MODIFICATION_TIME 1647720866.2614682 HDF5 dataset "/date ": shape (694, 2) , dtype <|S8> HDF5 dataset "/dropIfgram ": shape (694,) , dtype <bool> HDF5 dataset "/unwrapPhase ": shape (694, 1324, 1527) , dtype <float32> MODIFICATION_TIME 1647720758.3382552 Best,
Frank

Frank

unread,
Apr 2, 2022, 5:48:30 PM4/2/22
to MintPy
I just found the data is only 7Mb for each igram, which may be resulted from cropping. Thanks all!
Reply all
Reply to author
Forward
0 new messages