Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADD: wradlib notebooks #76

Merged
merged 13 commits into from
Aug 18, 2024
17 changes: 16 additions & 1 deletion .github/workflows/build-book-pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ permissions:
contents: read

env:
DOCKER_TAG: pr_77
DOCKER_TAG: pr_76

jobs:
build-book:
Expand All @@ -55,6 +55,21 @@ jobs:
# echo "binder-folder NOT changed - NO rebuild"
# fi
rm binder/Dockerfile
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false

# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: false
docker-images: false
swap-storage: false
- name: update jupyter dependencies with repo2docker
uses: jupyterhub/repo2docker-action@master
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
type: string # had a lot of trouble with boolean types, see https://github.com/actions/runner/issues/1483

env:
DOCKER_TAG: pr_77
DOCKER_TAG: pr_76

jobs:
build-container:
Expand Down
2 changes: 1 addition & 1 deletion binder/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM ghcr.io/openradar/erad2024:pr_77
FROM ghcr.io/openradar/erad2024:pr_76
1 change: 0 additions & 1 deletion binder/appendix.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,5 @@ RUN CONDA_DIR=/srv/conda && \
echo "export PROJ_NETWORK=$PROJ_NETWORK" >> ~/.profile && \
${CONDA_PREFIX}/bin/bash -l $BALTRAD_INSTALL_ROOT/install/baltrad/install_baltrad.sh && \
rm -rf $BALTRAD_INSTALL_ROOT/install && \
${MAMBA_EXE} install -y -n $RADARENV gpm-api --no-update-deps && \
${MAMBA_EXE} clean --all -f -y && \
cp binder/kernel.json $CONDA_PREFIX/share/jupyter/kernels/python3/.
7 changes: 7 additions & 0 deletions binder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dependencies:
- sphinx-pythia-theme
- arm_pyart>=1.18.7
- cartopy
- gpm-api>=0.2.15
- matplotlib
- numpy
- pyrad_arm
Expand Down Expand Up @@ -44,3 +45,9 @@ dependencies:
- jaxopt
- tensorflow>=2.6
- tensorflow-probability>=0.24
# interactive plotting
- hvplot
- datashader
# needed for wradlib
- bottleneck
- rioxarray
1 change: 1 addition & 0 deletions myst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ project:
- title: Py-ART and wradlib
children:
- file: notebooks/xradar-pyart/pyart-basics.ipynb
- file: notebooks/wradlib/wradlib_clutter_beamblockage.ipynb
- title: BALTRAD
children:
- pattern: notebooks/baltrad/baltrad_short_course/*.ipynb
Expand Down
Loading