Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug #8

Open
kjz1997 opened this issue May 29, 2024 · 0 comments
Open

Bug #8

kjz1997 opened this issue May 29, 2024 · 0 comments

Comments

@kjz1997
Copy link

kjz1997 commented May 29, 2024

hello, doctor
There seems to be a bug in the latlon_2-SAR_coord function in prep_slc_data when looping to determine the range of the mask, n_iter=1 not accumulated
`n_iter = 1

while mask.nonzero()[0].shape[0] == 0 and  n_iter<10: 
    print('It seems that you AOI is outside of Topstack region')
    print('We will modify your AOI...')
    dist += 0.001
    lat_mask = np.abs(lat_data-lat_p) < dist
    lon_mask = np.abs(lon_data-lon_p) < dist
    mask = lat_mask*lon_mask`
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

No branches or pull requests

1 participant