Good morning,
I followed the Jupyter notebook provided in the link above and created a water mask and used view.py to double check it (I'm ending up with waterMask.h5, not waterMask.rdr as stated above). However, when I try to use it as an input for the load_data step, I get the following error:
ValueError: input dataset ['waterMask'] not found in file /media/ozzy/ozzy10tb/InSAR/MintPy/6thRun_downsampled/waterMask.h5
So I used info.py and, as stated in the above error, there is no waterMask attribute so I'm not exactly sure how to proceed with resolving this error. Any suggestions would be appreciated.
Thanks!
Ozzy
(info.py output as follows:)
(mintpy) ozzy@otLinux:/media/ozzy/ozzy10tb/InSAR/MintPy/6thRun_downsampled$ info.py waterMask.h5
******************** Basic File Info ************************
file name: /media/ozzy/ozzy10tb/InSAR/MintPy/6thRun_downsampled/waterMask.h5
file type: mask
coordinates : RADAR
******************** HDF5 File Structure ********************
Attributes in / level:
DATA_TYPE int8
FILE_PATH /media/ozzy/ozzy10tb/InSAR/MintPy/6thRun_downsampled/waterBody.h5
FILE_TYPE mask
LENGTH 3496
PROCESSOR isce
UNIT 1
WIDTH 7600
access_mode read
byte_order l
data_type BYTE
extra_file_name swbdLat_N24_N25_Lon_E066_E068.wbd.vrt
family image
file_name swbdLat_N24_N25_Lon_E066_E068.wbd
length 3600
name image_name
number_bands 1
scheme BIP
width 7200
xmax 68.0
xmin 66.0
HDF5 dataset "/mask ": shape (3496, 7600) , dtype <bool>