Closed yunjunz closed 1 month ago
This pull request adds examples of file directory structure and template input file patterns for isce2/topsStack and isce2/alosStack, as well as modifies the modify_network
function to ignore commas in input options. The changes primarily affect documentation and input handling.
classDiagram
class ModifyNetwork {
- excludeDate: List<String>
- excludeDate12: List<String>
+ cmd_line_parse(iargs=None)
}
ModifyNetwork : +cmd_line_parse(iargs=None)
ModifyNetwork : +excludeDate = [x.replace(',', '') for x in excludeDate]
ModifyNetwork : +excludeDate12 = [x.replace(',', '') for x in excludeDate12]
Change | Details | Files |
---|---|---|
Added ionosphere-related file structure and template patterns for topsStack |
|
docs/dir_structure.md |
Added ionosphere-related template patterns for alosStack and stripmapStack |
|
docs/dir_structure.md |
Modified input handling in modify_network function |
|
src/mintpy/cli/modify_network.py |
Changed print function in check_map_projection |
|
src/mintpy/view.py |
This Pull Request updates the documentation to include example directory structures and template input file patterns for isce2/topsStack
and isce2/alosStack
, enhancing clarity for users setting up these stacks. It also fixes a bug in the modify_network.py
script by improving the handling of commas in the --ex-date(12)
options, ensuring smoother user input processing. Additionally, it modifies the logging method in view.py
to use standard print statements for map projection messages, which may improve readability and consistency in output.
Consider adding unit tests for the modify_network.py
script to ensure that the handling of commas in the --ex-date(12)
options is robust and functions as expected. This could prevent future regressions and improve code reliability. Additionally, ensure that the documentation changes are reflected in any related user guides or tutorials to maintain consistency across all user-facing materials.
Description of proposed changes
docs/dir_structure:
modify_network: ignore "," in the input --ex-date(12) options, as copied from the template file
Reminders
Summary by Sourcery
Update documentation with examples for isce2/topsStack and isce2/alosStack, fix comma handling in modify_network script, and enhance logging in view.py.
Bug Fixes:
Enhancements:
Documentation: