Skip to content

Commit

Permalink
Merge pull request #49 from TUW-GEO/dev
Browse files Browse the repository at this point in the history
add binder
  • Loading branch information
MartinSchobben authored Jan 14, 2025
2 parents e286ddd + bca723b commit e478cda
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 10 deletions.
1 change: 0 additions & 1 deletion .github/workflows/publish-pythia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ jobs:
python -m pip install nbstripout
render_sfinx_toc ./pythia
clean_nb ./notebooks ./pythia/notebooks
cp -rf ./Makefile ./pythia/
cp -rf ./chapters/references.bib ./pythia/notebooks/
cp -rf --parents ./notebooks/images ./pythia
cp -rf --parents $(find notebooks -name "*.yml") ./pythia
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish-quarto.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - name: Cache Binder Build on mybinder.org
# uses: jupyterhub/repo2docker-action@master
# with:
# NO_PUSH: true
# MYBINDERORG_TAG: ${{ github.event.ref }}
# REPO2DOCKER_EXTRA_ARGS: --subdir notebooks
- name: Cache Binder Build on mybinder.org
uses: jupyterhub/repo2docker-action@master
with:
NO_PUSH: true
MYBINDERORG_TAG: ${{ github.event.ref }}
REPO2DOCKER_EXTRA_ARGS: --subdir notebooks
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Earth Observation Datascience


[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/tuw-geo/eo-datascience/main)

This is a book on Earth Observation Datascience, consisting of common
workflows in Python at the Department of Geodesy and Geoinformation at
the TU Wien (Vienna Austria).
Expand Down
2 changes: 2 additions & 0 deletions README.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: "Earth Observation Datascience"
format: gfm
---

[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/tuw-geo/eo-datascience/main)

This is a book on Earth Observation Datascience, consisting of common workflows in Python at the Department of Geodesy and Geoinformation at the TU Wien (Vienna Austria).

The workflows comprise exercises that utilize remote sensing information, such as microwave backscattering from Sentinel-1 and visible range imagery from Sentinel-2.
Expand Down
7 changes: 4 additions & 3 deletions notebooks/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@ preview: $(CONDA_ENV)/envs/eo-datascience $(CONDA_ENV_DIR) $(KERNEL_DIR)
jupyter-book build ./_preview

clean:
rm --force --recursive .ipynb_checkpoints/ **/.ipynb_checkpoints/ _book/ \
_freeze/ .quarto/ _preview/ ./pytest_cache ./**/**/**/.jupyter_cache \
./**/**/.jupyter_cache
rm --force --recursive **/.ipynb_checkpoints **/**/.ipynb_checkpoints \
**/**/**/.ipynb_checkpoints **/.jupyter_cache \
**/**/.jupyter_cache **/**/**/.jupyter_cache \
_book _freeze .quarto _preview ./pytest_cache

teardown:
conda remove -n eo-datascience --all -y
Expand Down
5 changes: 5 additions & 0 deletions notebooks/postBuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

set -x

make kernel

0 comments on commit e478cda

Please sign in to comment.