-
Notifications
You must be signed in to change notification settings - Fork 34
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
Quadnode phi is Nan #60
Comments
Must be a problem in stamps2kite, phi/theta values at the left image end are not always valid although there is s valid displacement. |
Yes the LinearNDInterpolator returns Nans for values outside of the interpolation range- at the border of the gridded angles this is the case ...Consequently there are sometimes Nans in the phis and thetas although there are displacement values vor the respective pixels. How to fix ...? |
Added warning for number of pixels that have no look angle info here: f3e68d1 Tested that on two different scenes, one has 1236 pixels without that info, the other 0 ... |
Fixed here: #61 indexing Bug |
Despite the num.nanmedian function phi maybe nan if all the pixels in the quad are nan. Why the quad does exists then is still unclear as it should have been removed if the nanallowed threshold is crossed.
The text was updated successfully, but these errors were encountered: