-
Notifications
You must be signed in to change notification settings - Fork 367
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
FionaReader fails on Natural Earth 10m rivers for North America. #2087
Comments
I'm not sure whose fault it is (if this is a recent problem caused by a data update), but I think we could probably work around it easily enough. |
The problem does seem to be in class FionaRecord, since the line |
@lgolston, PRs with a suggested fix/workaround would be welcome! |
This was fixed by #2188 |
Description
FionaReader
fails to open Natural Earth 10m rivers for North America. There seems to be an empty record which raises anAttributeError
.BasicReader
provides a record with geometryNone
, allowing e.g.for rec in shp.records()
. Is this a data bug or a cartopy bug?Code to reproduce
Traceback
Full environment definition
Operating system
Manjaro Linux
Relevant packages
Full pip list
The text was updated successfully, but these errors were encountered: