tropo_pyaps3: bugfix for hyp3 product #1061
Merged
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