-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add stdproc.multilook
sub-module - WIP for version 2
#1316
Conversation
+ add HJ-1C from Liu et al. (2014, J Radar) + LT1: update chirp bandwidth based on Wang et al. (2024)
Reviewer's Guide by SourceryThis pull request introduces a new submodule Class diagram showing sensor metadata structureclassDiagram
class HJ1C {
+altitude: 502e3 m
+orbit_inclination: 97.3 deg
+repeat_cycle: 31 day
+carrier_frequency: 3.13e9 Hz
+pulse_repetition_frequency: 2600 Hz
+chirp_bandwidth: 60.0e6 Hz
}
class LT1 {
+altitude: 607e3 m
+orbit_inclination: 97.6 deg
+antenna_length: 10.0 m
+antenna_width: 3.4 m
+doppler_bandwidth: 2544 Hz
+pulse_repetition_frequency: 2934 Hz
+chirp_bandwidth: 80.0e6 Hz
+azimuth_pixel_size: 2.35 m
+range_pixel_size: 1.67 m
+azimuth_resolution: 7.15 m
}
note for LT1 "Updated chirp_bandwidth
from 60.0e6 to 80.0e6 Hz"
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
PR SummaryThis Pull Request introduces significant changes aimed at enhancing the MintPy software by adding a new sub-module and updating existing functionalities. The key changes include:
Review Checklist
SuggestionTo further enhance the clarity and maintainability of the codebase, consider adding more detailed docstrings and comments within the newly added This comment was generated by AI. Information provided may be incorrect. Current plan usage: 0% Have feedback or need help? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @yunjunz - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider removing or archiving the legacy commented-out code in multilook.py to reduce clutter.
- Replace print statements in multilook_gdal with proper logging to maintain consistency with the rest of the codebase.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
so that `cli/reference_point.py` is just for the command line interface.
+ add `stdproc.multilook` as WIP for version 2: start moving the low-level standardized processing functions into a new sub-module `stdproc`. + update `docs/api/module_hierarchy` for the new sub-module
Description of proposed changes
stdproc.multilook
sub-module (work toward version 2): start moving the low-level standardized processing functions into a new sub-modulestdproc
.Other minor changes are:
sensor
: add HJ-1C from Liu et al. (2014, J Radar), and update LT1's chirp bandwidth based on Wang et al. (2024)utils.utils0
: addorbit2los_azimuth_angle
reference_point
: addrun_reference_point()
to simplify the logic flow so thatcli/reference_point.py
is just for the command line interface.Reminders
Summary by Sourcery
Refactor multilooking functions and update sensor parameters.
New Features:
stdproc.multilook
sub-module to house low-level standardized processing functions.Tests: