-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
basemap crashes with no error message when passed numpy nan's #5991
Comments
You get that windows message because python is segfaulting. If executed in
|
In any case, I think this is inadvertently fixed by matplotlib/basemap#261. Passing nans in for those parameters will raise a ValueError, regardless of the projection (before, those parameters were only validated for certain projections like lcc and such). |
Closing this as it is really a basemap bug. |
When passing a value when creating the Basemap object, if that value is a numpy.nan then python 2.x crashes on windows.
This example code crashes in an ipython 2.7 notebook.
I think the expected behavior would be a ValueError or something like that so that it is easier to debug. Instead of a message like this:
The text was updated successfully, but these errors were encountered: