diff --git a/binder/environment.yml b/binder/environment.yml new file mode 100644 index 0000000..c625d8e --- /dev/null +++ b/binder/environment.yml @@ -0,0 +1,27 @@ +name: radar-cookbook-dev +channels: + - conda-forge + - pyviz +dependencies: + - python=3.11 + - jupyterlab + - jupytext + - matplotlib + - cartopy + - jupyter_server + - numpy<2.0 + - xarray + - metpy + - act-atmos>=1.2.0 + - imageio + - arm_pyart + - hvplot + - datashader + - panel + - sphinx-pythia-theme + - s3fs>=2024.3.1 + - pip + - pip: + - fast-barnes-py + - git+https://github.com/vlouf/eth_radar.git + - open-radar-data>=0.1.2 \ No newline at end of file diff --git a/binder/overrides.json b/binder/overrides.json new file mode 100644 index 0000000..218f184 --- /dev/null +++ b/binder/overrides.json @@ -0,0 +1,7 @@ +{ + "@jupyterlab/docmanager-extension:plugin": { + "defaultViewers": { + "markdown": "Jupytext Notebook" + } + } +} diff --git a/binder/postBuild b/binder/postBuild new file mode 100644 index 0000000..587c8e6 --- /dev/null +++ b/binder/postBuild @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +set -eux + +mkdir -p ${NB_PYTHON_PREFIX}/share/jupyter/lab/settings +cp overrides.json ${NB_PYTHON_PREFIX}/share/jupyter/lab/settings