Open Yohcy opened 2 weeks ago
💖 Thanks for opening this pull request! Please check out our contributing guidelines. 💖 Keep in mind that all new features should be documented. It helps to write the comments next to the code or below your functions describing all arguments, and return types before writing the code. This will help you think about your code design and usually results in better code.
This PR introduces a new tropospheric delay correction method based on local texture correlation, implementing the low-resolution component of Yang et al.'s 2024 work. The implementation includes slope estimation, interpolation, and intercept filtering steps to correct tropospheric delays in InSAR time series data.
sequenceDiagram
participant User
participant CLI
participant TropoLocalTexture
User->>CLI: Run tropo_local_texture.py
CLI->>TropoLocalTexture: run_tropo_local_texture(inps)
TropoLocalTexture->>TropoLocalTexture: read_topographic_data(geom_file)
TropoLocalTexture->>TropoLocalTexture: estimate_local_slope(dem, ts_data, inps, n_ref, meta)
TropoLocalTexture->>TropoLocalTexture: slope_interpolation(ts_data, inps, k_htc)
TropoLocalTexture->>TropoLocalTexture: intercept_filtering(dem, ts_data, inps, k_htc_interp, meta)
TropoLocalTexture-->>CLI: Return corrected data
CLI-->>User: Output corrected timeseries file
classDiagram
class TropoLocalTexture {
+read_topographic_data(geom_file)
+estimate_local_slope(dem, ts_data, inps, n_ref, meta)
+slope_interpolation(ts_data, inps, k_htc)
+intercept_filtering(dem, ts_data, inps, k_htc_interp, meta)
+run_tropo_local_texture(inps)
}
class CLI {
+create_parser(subparsers)
+cmd_line_parse(iargs)
+main(iargs)
}
TropoLocalTexture <|-- CLI
note for TropoLocalTexture "This class implements the new tropospheric correction method based on local texture correlation."
Change | Details | Files |
---|---|---|
Added new tropospheric correction method using local texture correlation |
|
src/mintpy/tropo_local_texture.py src/mintpy/cli/tropo_local_texture.py |
Updated configuration system to support the new correction method |
|
src/mintpy/defaults/smallbaselineApp.cfg src/mintpy/defaults/smallbaselineApp_auto.cfg |
Integrated new correction method into existing workflow |
|
src/mintpy/smallbaselineApp.py |
This Pull Request introduces a new method for tropospheric correction in InSAR data processing, based on local texture correlation as described in Yang et al.'s 2024 research. The new method, implemented in tropo_local_texture.py
, aims to improve the accuracy of tropospheric delay corrections by leveraging high-frequency texture to estimate local slopes. The PR updates the configuration files and workflow to support this new method and includes documentation for its usage. The changes are expected to enhance the precision of InSAR data analysis by providing an alternative correction method that can be particularly useful in heterogeneous environments.
Description of proposed changes
This code is based on this work:
This code only completes the low resolution part of this work. With the help of Yang Qingyue, it successfully gets almost the same result as in the work above. Some figures during the correction process are shown below:
Low-resolution correction in Yang' work:
Before corrections Date: February 3, 2015 and August 21, 2017
After corrections Date: February 3, 2015 and August 21, 2017
Reminders
Summary by Sourcery
Add a new tropospheric correction method using local texture correlation, based on Yang et al.'s 2024 research. Update the configuration and workflow to support this method, and provide documentation for its usage.
New Features:
Enhancements:
Documentation:
Summary by Sourcery
Add a new tropospheric correction method using local texture correlation, based on Yang et al.'s 2024 research. Update the configuration and workflow to support this method, and provide documentation for its usage.
New Features:
Enhancements:
Documentation: