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

Quadnode phi is Nan #60

Open
hvasbath opened this issue Jul 15, 2020 · 4 comments
Open

Quadnode phi is Nan #60

hvasbath opened this issue Jul 15, 2020 · 4 comments

Comments

@hvasbath
Copy link
Member

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.

@hvasbath
Copy link
Member Author

hvasbath commented Jul 15, 2020

Must be a problem in stamps2kite, phi/theta values at the left image end are not always valid although there is s valid displacement.
I guess somewhere in the interpolate_look_angles

@hvasbath
Copy link
Member Author

hvasbath commented Jul 15, 2020

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 ...?

@hvasbath
Copy link
Member Author

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 ...

@hvasbath
Copy link
Member Author

Fixed here: #61 indexing Bug

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