readfile: support Gamma SLC in complex32 format#1216
Merged
yunjunz merged 4 commits intoinsarlab:mainfrom Jun 12, 2024
Merged
Conversation
+ utils.readfile: support Gamma slc in complex32 format - add scomplex to complex32 data type conversion - read_binary_file(): support .rslc/rmli file extension - read_complex_int16(): refactor to use cpx_band in str for a more flexible output data; revise the output from 2 matrices into 1 matrix - read_binary(): support complex32 while calling read_complex_int16(), since it's not supported in numpy. + utils.readfile.auto_no_data_value(): add geometrical offset files from alos2App with num of band = 1 + view.viewer.plot(): set pixels with no data value to np.nan, instead of call np.ma.masked_where(), which seems over-complicated (compared with setting to nan) and I could not recall the reason anymore. + cli/prep_isce.py: set -f default from str to list, to be consistent with the non-default var type.
attempt to free up the disk space, and to fix the circle CI testing failure.
This reverts commit 912298e.
to show the full error msg, by reverting part of insarlab#472.
Member
Author
|
Local testing passed without issue. The failed circle CI test shows that GDAL can not be imported, but it's installed during the installation process. Nevertheless, the circle CI error is not related with the PR, and probably due to some issue on circle CI itself. |
yunjunz
added a commit
to yunjunz/MintPy
that referenced
this pull request
Aug 1, 2024
yunjunz
added a commit
to yunjunz/MintPy
that referenced
this pull request
Aug 1, 2024
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
utils.readfile: support Gamma slc in complex32 format
utils.readfile.auto_no_data_value(): add geometrical offset files from alos2App with num of band = 1
view.viewer.plot(): set pixels with no data value to np.nan, instead of call np.ma.masked_where(), which seems over-complicated (compared with setting to nan) and I could not recall the reason anymore.
cli/prep_isce.py: set -f default from str to list, to be consistent with the non-default var type.
Reminders