-
Notifications
You must be signed in to change notification settings - Fork 17
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
stratify gives strange results if heights run in opposite directions #50
Comments
Thanks @nhsavage, this is a known area to the devs, so it's good to have it flagged here 👍 |
@nhsavage If you also
Is this a reasonable answer? |
yes I know - I have used this a workd around in my code but shouldn't stratify at least raise an exception to avoid this sort of thing happening silently? |
What would you prefer happened here? I'm guessing to at least raise an exception, but ideally perform the interpolation i.e., give the result |
yes that's exactly right |
Thanks @nhsavage 😄 |
In order to maintain a backlog of relevant issues, we automatically label them as stale after 500 days of inactivity. If this issue is still important to you, then please comment on this issue and the stale label will be removed. Otherwise this issue will be automatically closed in 28 days time. |
Gives:
[0. 1. 2. 3. 4.]
[ 0. nan nan nan nan]
Either the reversed heights should raise a ValuError or (better) the input heights should be flipped internally before doing the interpolation
The text was updated successfully, but these errors were encountered: