tobac icon indicating copy to clipboard operation
tobac copied to clipboard

Removing cartopy from dependencies

Open w-k-jones opened this issue 1 year ago • 2 comments

Cartopy is currently used in the plotting module, as well as being a dependency of iris. Installing cartopy with pip is difficult due to its dependency on the GEOS library. If we want to add tobac to PyPI we should look into removing cartopy from the requirements once we have replaced iris with xarray. Currently, the only use for cartopy is cartopy.crs.PlateCarree and cartopy.mpl.gridliner which would be better as external options

w-k-jones avatar May 30 '23 21:05 w-k-jones

I agree with this, but we should keep cartopy as a dependency on the notebooks.

I've tagged this as a v1.6 item for now, but this could be good for a v1.5.x series release.

freemansw1 avatar May 31 '23 13:05 freemansw1

As of the new cartopy v0.22.0 release, cartopy is easier to install using pip. Hopefully this isn't as much of an issue moving forwards

w-k-jones avatar Aug 07 '23 11:08 w-k-jones