diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile deleted file mode 100644 index 98264c9..0000000 --- a/.devcontainer/Dockerfile +++ /dev/null @@ -1,32 +0,0 @@ -# devcontainer-focused Rocker -FROM ghcr.io/rocker-org/devcontainer/tidyverse:4.3 - - -ENV NB_USER=rstudio -ENV VIRTUAL_ENV=/opt/venv -ENV PATH=${VIRTUAL_ENV}/bin:${PATH} -ADD https://raw.githubusercontent.com/rocker-org/rocker-versioned2/96cdc36e3c6dcd17e7eb4b830ebd7d8147aedf51/scripts/install_python.sh install_python.sh -RUN bash install_python.sh && rm install_python.sh - - -RUN apt-get update && apt-get -y install libxt6 libzmq3-dev gh -ADD https://raw.githubusercontent.com/rocker-org/rocker-versioned2/master/scripts/experimental/install_dev_osgeo.sh install_dev_osgeo.sh -RUN bash install_dev_osgeo.sh && rm install_dev_osgeo.sh - -RUN chown -R rstudio:rstudio /opt/venv - -USER rstudio -WORKDIR /home/rstudio -RUN usermod -s /bin/bash rstudio - -COPY requirements.txt requirements.txt -ENV PATH=$PATH:/home/rstudio/.local/bin - -RUN python -m pip install -r requirements.txt && rm requirements.txt -COPY install.R install.R -RUN Rscript install.R && rm install.R - -RUN python -m ipykernel install --user --name=nasa - -# some teaching preferences -RUN git config --global pull.rebase false diff --git a/.devcontainer/jupyterhub.Dockerfile b/.devcontainer/jupyterhub.Dockerfile index 319baad..77e5fc9 100644 --- a/.devcontainer/jupyterhub.Dockerfile +++ b/.devcontainer/jupyterhub.Dockerfile @@ -33,6 +33,10 @@ RUN python -m pip install --no-cache-dir -r jupyter-requirements.txt && rm jupyt COPY nasa-requirements.txt requirements.txt RUN python -m pip install --no-cache-dir -r requirements.txt && rm requirements.txt +# latest GDAL +RUN pip install --no-cache-dir --find-links https://girder.github.io/large_image_wheels GDAL + + COPY install.R install.R RUN Rscript install.R && rm install.R diff --git a/.devcontainer/nasa-requirements.txt b/.devcontainer/nasa-requirements.txt index 58b021e..f33e2a1 100644 --- a/.devcontainer/nasa-requirements.txt +++ b/.devcontainer/nasa-requirements.txt @@ -1,26 +1,27 @@ jupyterhub jupyterlab notebook +jupyterlab-quarto jupyter-rsession-proxy -jupyter-console==6.6.3 -jupyter-events==0.7.0 -jupyter-lsp==2.2.0 -jupyter_client==8.3.1 -jupyter_core==5.3.2 -jupyter_server==2.7.3 -jupyter_server_terminals==0.4.4 -jupyter-vscode-proxy==0.5 -jupyterlab-pygments==0.2.2 -jupyterlab-widgets==3.0.9 -jupyterlab_server==2.25.0 -nbconvert==7.8.0 -nbformat==5.9.2 -odc-stac==0.3.8 -planetary-computer==1.0.0 +jupyter-vscode-proxy +jupyter-console +jupyter-events +jupyter-lsp +jupyter_client +jupyter_core +jupyter_server +jupyter_server_terminals +jupyterlab-pygments +jupyterlab-widgets +jupyterlab_server +gh-scoped-creds +nbconvert +nbformat +odc-stac +planetary-computer polars pyarrow -pystac-client==0.7.5 -gh-scoped-creds +pystac-client scikit-image hvplot geoviews @@ -30,4 +31,12 @@ contextily rioxarray geopandas rasterstats +dask +distributed +h5netcdf +h5py +netCDF4 +zarr +lxml +geopolars