geodesymiami / insarmaps

3 stars 0 forks source link

Radar coordinates file wrong mask #59

Closed stackTom closed 1 year ago

stackTom commented 1 year ago

The sample radar coordinates file at /data/HDF5EOS/Miami2SenAT48/minopy/single_reference_network/S1_IW3_048_0081_0082_20200110_XXXXXXXX_PS.he5 doesn't seem to have a correct mask.

I see for old geocoded files, the displacement array and mask array match in size. For example, these are the displacement and mask arrays in this file /data/HDF5EOS/IsraelBig31SenDT21/mintpy/S1_IW123_021_0487_0491_20160118_20201110.he5: displacement: (256, 834, 1497) mask (834, 1497). Notice the 834, 1497 match in both files. However, in the radar coded file, these are the sizes of the displacement and mask array: displacement (67, 235, 238) mask (85, 66). Notice the last two numbers in displacement don't match the numbers in mask. These means they are not the same size.

The mintpy mask_matrix function is crashing because the mask size doesn't correspond to the displacement size.

stackTom commented 1 year ago

Great, let me know once it's fixed. Will keep working if I'm still home once that's fixed.

stackTom commented 1 year ago

It appears I was using the wrong file.