tropo_pyaps3: bugfix for hyp3 product#1061
Merged
yunjunz merged 1 commit intoinsarlab:mainfrom Aug 8, 2023
Merged
Conversation
+ tropo_pyaps3: bugfix for hyp3 products in UTM coordinates: - calc_delay_timeseries(): remove the call of `ut.to_latlon()` while preparing the pixel-wised 2D lat/lon matrices, as `ut.get_lat_lon()` handled the UTM/latlon conversion already in insarlab#1052 + replace `ut.to_latlon()` with `ut.utm2latlon()` as the later supported more file types, in the following occurrences: - tropo_pyaps3.get_bounding_box() - utils.utils.prepare_geo_los_geometry() + utils.utils0.get_lat_lon(): print out UTM/latlon conversion message, to help future tracking/diagnose + prep_hyp3: convert UTM to lat/lon for LAT/LON_REF1/2/3/4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of proposed changes
tropo_pyaps3: bugfix for hyp3 products in UTM coordinates:
ut.to_latlon()while preparing the pixel-wised 2D lat/lon matrices, asut.get_lat_lon()handled the UTM/latlon conversion already since convert coord btw. UTM and lat/lon #1052replace
ut.to_latlon()withut.utm2latlon()as the latter also support non-gdal files, in the following occurrences:utils.utils0.get_lat_lon(): print out UTM/latlon conversion message, to help future tracking/diagnose
prep_hyp3: convert UTM to lat/lon for LAT/LON_REF1/2/3/4
Reminders