Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@yunjunz
Copy link
Member

@yunjunz yunjunz commented May 30, 2023

Description of proposed changes

  • spatial_filter.py: Fix the np.pad() pad_width integral type error while using the double_difference filter, as described in double_difference yields TypeError: pad_width must be of integral type. #1014.

  • writefile.write(): do not overwrite format for .hgt file, as it can be float64 in isce2. Plus, the two-band format in roipac is weird anyway and not used much anymore [in the last 3+ years if I remember correctly].

  • isce_utils.extract_alosStack_metadata(): make los_file optional, because 1) attribute CENTER_INCIDENCE_ANGLE is not essential, i.e. optional; and 2) los_file does not exist sometimes, as in the post-processing of alos2App

Reminders

yunjunz added 3 commits May 29, 2023 09:59
+ writefile.write(): as it can be float64 in isce2. Plus, the two-band format in roipac is weird anyway and not used much anymore [in the last 3+ year if I remember it right].

+ isce_utils.extract_alosStack_metadata(): make los_file optional, because 1) attribute CENTER_INCIDENCE_ANGLE is not essential, i.e. optional; and 2) los_file does not exist sometimes, as in the post-processing of alos2App
+ spatial_filter.py: Fix the np.pad() pad_width integral type error while using double_difference filter.
@yunjunz yunjunz merged commit c305e13 into insarlab:main May 30, 2023
@yunjunz yunjunz deleted the filter branch May 30, 2023 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

double_difference yields TypeError: pad_width must be of integral type.

1 participant