Record of trying to get arcgis 2.0.0 to work with pangeo #11
Replies: 5 comments
-
Well this built but not sure how useful it is. I worry the packages are old since the base image is so old. Link: ghcr.io/nmfs-opensci/container-images/arcgis-pangeo:latest
|
Beta Was this translation helpful? Give feedback.
-
Things that didn't work #1 Build off Openscapes image
environment.yml
|
Beta Was this translation helpful? Give feedback.
-
Things that did not work #2 . Build off pangeo image so try to install less stuff
environment.yml
|
Beta Was this translation helpful? Give feedback.
-
Absolutely horrific attempt to upgrade the arcgis image built off jupyter/basenotebook:lab-2.2.9 to jupyterhub>1 so that the image starts in \lab by default. Technically, you should be able to set the config so that it does, but I could not get any settings to work. Tried everything and then I saw that others had the same problem. I had to upgrade to jupyterhub>2. This works but awful awful awful because all the start scripts that were in the original image had to be replaced. Some of this is not needed. But new start-singleuser.sh needed since the one in the image is not compatible with jupyterhub>1.
start-singleuser.sh
jupyter_server_config.py. I don't think the \lab settings do anything. Key is to go to jupyterhub>1 so \lab is default.
start-notebook.d
|
Beta Was this translation helpful? Give feedback.
-
Hi Eli thanks for all these efforts and sorry it's taken me so long to review. In my testing I found that the lynchpin for building the labextensions is openssl 1.1.1. That's why I had to explicitly install nodejs 18.16.0 ha637b67_1. If I went to nodejs 18.17 openssl would jump to 3.x and the labextension builds would fail. |
Beta Was this translation helpful? Give feedback.
-
@timhaverland-noaa I did some rainy weekend banging on the arcgis image to try to get it work work with xarray and rasterio.
My conclusion Separate images for arcgis might be best for now untill the arcgis widget is upgraded to allow jupyterlab > 2. Current version is 4 and 2 is just so old.
Nonetheless, I did get an image with xarray, rasterio, gdal, and geopandas finally built. It starts up in classic notebook, so you have to manually change to /lab if you want to use that.
ghcr.io/nmfs-opensci/container-images/arcgis-pangeo:xarray
It is on the xarray branch and in the images/arcgis-pangeo folder.
Tried to update the
FROM jupyter/base-notebook:lab-2.2.9
image to jupyterhub=2.0.0 since I could not get 1.5.0 to use\lab
as start up. Tried everything.Only thing that worked was updating jupyterhub to 2.0.0 but that meant copying all the start up scripts into the image since the ones with
lab-2.2.9
image will not work with jupyterhub=2.0.0Tried to add arcgis=2.0.0 to pangeo image with Python 3.9. No luck. The
part needs old ipywidget and nodejs and I just couldn't get it to build.
Also the jupyterhub version is getting downgraded to 1.5, which will likely cause problems. Though tbd since maybe only the version in the base env is important.
Tried to add arcgis:2.0.0 to Openscapes image. Same problem as for the pangeo image. The labextension installation is throwing an error
I also tried to install xarray, rasterio to the image
Beta Was this translation helpful? Give feedback.
All reactions