-
Notifications
You must be signed in to change notification settings - Fork 18
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
Placeholder for geocoded radiometric calibration parameters #114
Placeholder for geocoded radiometric calibration parameters #114
Conversation
src/compass/s1_geocode_slc.py
Outdated
@@ -195,6 +196,95 @@ def run(cfg: GeoRunConfig): | |||
weather_model_path=cfg.weather_model_file, | |||
delay_type=cfg.tropo_params.delay_type) | |||
|
|||
# Designate radiometric calibration parameter to geocode | |||
calibration_dict = { | |||
'gamma':burst.burst_calibration.gamma, |
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.
Please note that beta_naught
is not provided here because it is constant, and was already provided in /science/SENTINEL1/CSLC/corrections/calibration
…geocode_metadata.py`
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.
Once merged with main
, there's no need to declare root_path
.
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.
Code is structurally sound. My comments are for variable renames and comment adds for clarity.
Also, what about the datasets in the noise group? Do they need to be moved as well in the placeholder group? |
Co-authored-by: Liang Yu <liangjyu@gmail.com>
Co-authored-by: Liang Yu <liangjyu@gmail.com>
Co-authored-by: Liang Yu <liangjyu@gmail.com>
Co-authored-by: Liang Yu <liangjyu@gmail.com>
…PASS into calibration_information
… removed irrelevant calibration info in geogrid.
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.
LGTM
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.
LGTM, thanks @seongsujeong
Co-authored-by: Liang Yu <liangjyu@gmail.com>
…t#114) * Placeholder for geocoded radiometric calibration parameters * geocoded calibration parameter feature as standalone function in `s1_geocode_metadata.py` * Update src/compass/s1_geocode_metadata.py Co-authored-by: Liang Yu <liangjyu@gmail.com> * Update src/compass/s1_geocode_metadata.py Co-authored-by: Liang Yu <liangjyu@gmail.com> * Update src/compass/s1_geocode_metadata.py Co-authored-by: Liang Yu <liangjyu@gmail.com> * Apply suggestions from code review by @LiangJYu Co-authored-by: Liang Yu <liangjyu@gmail.com> * finalizing applying the code change suggestion * removed unused imports * geocode calibration LUTS only when it is available in burst object * Moving all calibration info. into `metadata/calibration_information`; removed irrelevant calibration info in geogrid. * `dn` added for geocoded LUT; note added for placeholder * removed unused codes * addressing codacy issue * Update src/compass/s1_geocode_metadata.py Co-authored-by: Liang Yu <liangjyu@gmail.com> --------- Co-authored-by: Seongsu Jeong <seongsu.jeong@jpl.nasa.gov> Co-authored-by: Liang Yu <liangjyu@gmail.com>
This PR adds a placeholders for geocoded LUTs for radiometric calibration.
![Screenshot 2023-03-17 at 00 28 42](https://user-images.githubusercontent.com/27862199/225841137-0fa6e301-cc66-4e29-a9f0-ea43564b4221.png)
gamma
andsigma_naught
are geocoded and placed into the group/science/SENTINEL1/CSLC/metadata/calibration_information
as shown in the screenshot below.