From eb5bd68f5e24f3928f9f295d20a3950f5dde1471 Mon Sep 17 00:00:00 2001 From: betolink Date: Sun, 18 Feb 2024 21:50:28 -0600 Subject: [PATCH] adding explicit opendap kernel --- ci/Dockerfile | 4 -- ci/conda-linux-64.lock | 2 +- ci/environment.yml | 2 +- ci/environments/opendap/environment.yml | 64 +++++++++++++++++++++++++ ci/environments/opendap/name.txt | 1 + ci/requirements.txt | 1 + 6 files changed, 68 insertions(+), 6 deletions(-) create mode 100644 ci/environments/opendap/environment.yml create mode 100644 ci/environments/opendap/name.txt diff --git a/ci/Dockerfile b/ci/Dockerfile index 4e9b098..f0f5695 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -10,8 +10,6 @@ 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 @@ -19,7 +17,5 @@ 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/ diff --git a/ci/conda-linux-64.lock b/ci/conda-linux-64.lock index ff7b135..2c71b29 100644 --- a/ci/conda-linux-64.lock +++ b/ci/conda-linux-64.lock @@ -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 diff --git a/ci/environment.yml b/ci/environment.yml index f4d1594..b45a290 100644 --- a/ci/environment.yml +++ b/ci/environment.yml @@ -11,7 +11,7 @@ dependencies: - xarray>=2023.12 - h5netcdf - h5py - # - gdal>=3.8 + - gdal>=3.8 - geoviews - holoviews=1.16.2 - matplotlib-base diff --git a/ci/environments/opendap/environment.yml b/ci/environments/opendap/environment.yml new file mode 100644 index 0000000..ab9c4d9 --- /dev/null +++ b/ci/environments/opendap/environment.yml @@ -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 diff --git a/ci/environments/opendap/name.txt b/ci/environments/opendap/name.txt new file mode 100644 index 0000000..3ad62c1 --- /dev/null +++ b/ci/environments/opendap/name.txt @@ -0,0 +1 @@ +opendap diff --git a/ci/requirements.txt b/ci/requirements.txt index 74d020f..11deafe 100644 --- a/ci/requirements.txt +++ b/ci/requirements.txt @@ -3,3 +3,4 @@ xq jupyterlab-quarto jupyter-desktop-server==0.1.3 graphviz +netcdf4==1.6.5