pangeo-data/pangeo-stacks

Cartopy in pangeo.pydata.org

Closed this issue · 3 comments

It appears that cartopy is not available in pangeo.pydata.org

ModuleNotFoundError: No module named 'cartopy'

Should I install it locally, or will it be included?

We can/should add cartopy. It is a fairly heavy dependency so we should evaluate what it does to the size of the notebook image. Now that jupyterhub 0.7 is out, perhaps we start thinking about supporting multiple images for KubeSpawner (pangeo-data/pangeo#348).

@jhamman it's been a little bit since your post. do you know if anything happened with this?

cartopy is in the main dockerfile (https://github.com/pangeo-data/helm-chart/blob/master/docker-images/notebook/Dockerfile#L20).

Considering the multiple images, an example of using the correct KubeSpawner configuration has been done here: raphaeldussin/example.pangeo.io-deploy#6. However, it does only change VM size, but you can easily add pangeo-data/pangeo#348 (comment) to this.

We could add some example in the current helm chart or in main pangeo config file though.