hydroshare / hydroshare-jupyterhub

The HydroShare Jupyterhub Notebook Server is an environment designed provide added value to existing HydroShare resources via interactive computational notebooks.
4 stars 6 forks source link

Installation request and conda install debug + OGH #136

Open ChristinaB opened 5 years ago

ChristinaB commented 5 years ago

@Castronova We would like to install libgdal and ncurses

conda install libgdal Gives a warned to update conda by running conda update -n base conda

To use libraries in Jim's new code we need to also run

conda install -c conda-forge ogh fiona ncurses libgdal gdal pygraphviz

Is this update really necessary? Can we install the ogh libraries and include this as a utility?

keckje commented 5 years ago

Thanks Tony, this is Jeff at UW

Castronova commented 5 years ago

Can you briefly explain why these libraries are needed?

jphuong commented 5 years ago

@Castronova

Hi, Tony. OGH uses geopandas and shapely operations to control gridded cell and raster projections. We use them in our tutorials. I discovered that the hydroshare-jupyterhub python libraries have mismapped gdal and fiona versions, resulting in this known libgdal and libncurses error. It's an easy fix by simply updating conda and these libraries to install from conda-forge instead of pip or conda default. Hope that explains it.

jphuong commented 5 years ago

@Castronova

Ideally, these library updates should happen to the jupyterhub dockerfile image to resolve this mismapping issue, since this is a known and solved problem.