multilook: support GDAL VRT file#959
Merged
yunjunz merged 2 commits intoinsarlab:mainfrom Feb 14, 2023
Merged
Conversation
+ multilook.py: - add multilook_gdal() to support GDAL VRT file as input, in order to generate multilooked lat/lon.rdr file from isce-2 generated lat/lon.rdr.full.vrt file directly + cli.multilook.py: add example usage + utils.readfile.py: - read_attribute(): ignore '.mli' for FILE_TYPE, similar to '.full' and '.rdr' in the path - get_slice_list(): support dense offsets generated by isce2/topsApp.py, to facilitate the auto reading of read()
+ remove the obsolete `multilook_matrix()` and add its core part as commented code block within `multilook_data()` + apply croping of the input data for all methods, as a generic preparation step, to simplify the code laterward
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
multilook.py:multilook_gdal()to generate the multilookedlat/lon.rdrfiles from isce-generated GDAL VRT files (lat/lon.rdr.full.vrt) directly; add example usage incli.multilook.py.multilook_matrix()and add its core part as commented code block withinmultilook_data().multilook_data(): apply cropping of the input data for all methods, as a generic preparation step, to simplify the code laterward.utils.readfile.py:
Reminders