GeoscienceAustralia / tcrm

A statistical-parametric model for assessing wind hazard from tropical cyclones
http://geoscienceaustralia.github.io/tcrm
Other
80 stars 52 forks source link

Bugfix for shapefile reader #147

Closed wcarthur closed 5 months ago

wcarthur commented 5 months ago

Existing shapefile.py was based on an old version of pyshp.shapefile, but this caused cartopy to use the older version of shapefile, which led to ShapefileExceptions when trying to plot maps.

This bugfix removes the old shapefile.py from the Utilities module and replaces references to that file with the pyshp version.

As pyshp is a dependency of cartopy, it is installed as part of the enviroment.