Skip to content

Commit

Permalink
adding explicit opendap kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
betolink committed Feb 19, 2024
1 parent c4962cf commit eb5bd68
Show file tree
Hide file tree
Showing 6 changed files with 68 additions and 6 deletions.
4 changes: 0 additions & 4 deletions ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,12 @@ ENV QUARTO_CLI=https://github.com/quarto-dev/quarto-cli/releases/download/v1.3.4

RUN wget -O /tmp/quarto.deb ${QUARTO_CLI} && dpkg -i /tmp/quarto.deb && rm -rf /tmp/quarto.deb && apt-get clean

RUN conda activate notebook && conda uninstall -y netcdf4 libnetcdf && pip install netcdf4==1.6.5

USER ${NB_USER}

WORKDIR ${HOME}/.kernels

RUN chmod +x install-kernels.sh && cd /home/jovyan/.kernels && ./install-kernels.sh environments




ENV JUPYTERHUB_HTTP_REFERER=https://openscapes.2i2c.cloud/

2 changes: 1 addition & 1 deletion ci/conda-linux-64.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Generated by conda-lock.
# platform: linux-64
# input_hash: f49294bbbf4c3ccfd17b55079e120a2ca18740996ecbb362d6549d8c79705048
# input_hash: aafcdd1bd89a58b40ff541d125246ff289eaacfa39c933cf45706cf2dd4d761f
@EXPLICIT
https://conda.anaconda.org/conda-forge/linux-64/_libgcc_mutex-0.1-conda_forge.tar.bz2#d7c89558ba9fa0495403155b64376d81
https://conda.anaconda.org/conda-forge/linux-64/ca-certificates-2024.2.2-hbcca054_0.conda#2f4327a1cbe7f022401b236e915a5fef
Expand Down
2 changes: 1 addition & 1 deletion ci/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
- xarray>=2023.12
- h5netcdf
- h5py
# - gdal>=3.8
- gdal>=3.8
- geoviews
- holoviews=1.16.2
- matplotlib-base
Expand Down
64 changes: 64 additions & 0 deletions ci/environments/opendap/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: opendap
channels:
- conda-forge
dependencies:
- python=3.10
- xarray=2024.1.0
- certifi=2023.11.17
- cftime=1.6.3
- dask
- dask-gateway
- graphviz
- distributed
- rioxarray
- h5py>= 3.9
- geoviews
- matplotlib-base
- seaborn
- hvplot
- datashader
- pyproj
- bqplot
- geopandas
- zarr
- cartopy
- pynco
- rasterio
- shapely
- pyresample
- joblib
- pystac-client
- pydap
- lxml
- ipyleaflet
- dask-labextension
- jupyter-server-proxy
- ipywidgets
- jupyter-book
- jupyterlab>4
- jupyterlab-myst
- jupyterhub-singleuser
- jupyterlab-geojson
- jupyterlab-favorites
- jupyterlab-git
- jupyter-resource-usage
- jupyterlab-h5web
- hdf5plugin
- ipympl
- pooch
- earthaccess>=0.8.2
- pqdm
- spectral
- s3fs
- nbgitpuller
- awscliv2
- jupyter-server-proxy
- jupyter-vscode-proxy
# https://github.com/jupyterlab/jupyter-collaboration/issues/202
# - jupyter-collaboration
- code-server >=3.2
- pip
- pip:
- netcdf4==1.6.5
platforms:
- linux-64
1 change: 1 addition & 0 deletions ci/environments/opendap/name.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
opendap
1 change: 1 addition & 0 deletions ci/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ xq
jupyterlab-quarto
jupyter-desktop-server==0.1.3
graphviz
netcdf4==1.6.5

0 comments on commit eb5bd68

Please sign in to comment.