Conversation
HyP3 is an on-demand service for producing Sentinel-1 interferograms. prep_hyp3.py provides a utility to produce MintPy-readable rsc files so that HyP3 data can be loaded in MintPy. See Issue: insarlab#540
Adds hyp3 to load_data.py processor list, and sets up reference to prep_hyp3 when hyp3 is the processor. See Issue: insarlab#540
Also removed commented import statements
|
This is awesome @forrestfwilliams! I only have a few minor suggestions to complete this support:
|
|
Hi @yunjunz I'll get started on these changes! What is the best way to get the test dataset to you? |
|
Hi @forrestfwilliams, I just sent you a link to my Box; you could also upload it to Google Drive if you have enough space there. |
|
Hi @yunjunz, I've uploaded test data to the box drive, it should match the directory structure I've described in |
|
Thank you @forrestfwilliams, the doc looks great. For the test data, could you send me a few more to have some redundacy? You have sent me date1_date3, date2_date3, maybe add date1_date2? |
The LAT/LON_REF1/2/3/4 attributes are in a different order for ascending and descending geometries. This commit reworks the scirpt so that this difference can be accounted for. The dem file origionally did not have an external metadata file, so adding in this functionally created a large changes in the script. Also updated docs/dir_structure.md to reflect these changes. See Pull Request: insarlab#542
|
@yunjunz I've made all the changes we've discussed and the updated example data is in the box folder! |
|
@forrestfwilliams In the newly added 1st interferogram, I did not find the We need |
There was a problem hiding this comment.
This PR itself works fine without errors, so I think it's ready to be merged. Thank you @forrestfwilliams!!!
There are a few more things to consider, to better support the full functionalities of MintPy. Maybe for future PRs, unless you want to do it in this PR? @forrestfwilliams Let me know please.
-
1. In the newly added 1st interferogram, I did not find the
*_clip.tif, could you make sure @forrestfwilliams? -
2. We need
incidence angleandslant range distancefor tropospheric delay correction and DEM error correction. The ideal case would be the pixel-wised 2D matrix. If they are not available, a mean value also works, in this case, could you add the following two attributes for it? They will be used bygeometryDictduring load_data.py to write the mean 2D matrix.
SLANT_RANGE_DISTANCE = # mean slant range distance between the satellite and the ground
INCIDENCE_ANGLE = # mean incidence angle in degree
- 3. The "meter" unit is not properly displayed in view.py currently, which requires some changes (I will probably try it sometime this weekend or next week). For now, one could run
view.py --coord radarto force the display in radar coordinate. (#548)
|
@yunjunz 1. was my mistake, sorry. I've uploaded the correct version of the example data to the box folder. As for 2. and 3. let's fix them in a future PR. |
+ create `prep_hyp3.py` to prepare rsc metadata files for ASF HyP3 data, which is an on-demand service for producing Sentinel-1 interferograms. + load_data.py: add hyp3 to the processor list, and sets up a reference to prep_hyp3 when hyp3 is the processor. + utils.readfile: read HyP3 products as GDAL TIFF files + docs/dir_structure: add example directory structure and template options for HyP3 + prep_hyp3/aria: fix bug of LAT/LON_REF1/2/3/4, considering their differences between asc /desc geometries.
+ create `prep_hyp3.py` to prepare rsc metadata files for ASF HyP3 data, which is an on-demand service for producing Sentinel-1 interferograms. + load_data.py: add hyp3 to the processor list, and sets up a reference to prep_hyp3 when hyp3 is the processor. + utils.readfile: read HyP3 products as GDAL TIFF files + docs/dir_structure: add example directory structure and template options for HyP3 + prep_hyp3/aria: fix bug of LAT/LON_REF1/2/3/4, considering their differences between asc /desc geometries.
Description of proposed changes
The ASF HyP3 on-demand InSAR service is a great option for creating interferograms, but MintPy is not currently set up to ingest these products. This pull request creates a prep_hyp3.py workflow that would allow for the ingestion of these products.
Changes
Resolves Issue: #540