Skip to content

Commit e478cda

Browse files
Merge pull request #49 from TUW-GEO/dev
add binder
2 parents e286ddd + bca723b commit e478cda

File tree

6 files changed

+19
-10
lines changed

6 files changed

+19
-10
lines changed

Diff for: .github/workflows/publish-pythia.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ jobs:
6969
python -m pip install nbstripout
7070
render_sfinx_toc ./pythia
7171
clean_nb ./notebooks ./pythia/notebooks
72-
cp -rf ./Makefile ./pythia/
7372
cp -rf ./chapters/references.bib ./pythia/notebooks/
7473
cp -rf --parents ./notebooks/images ./pythia
7574
cp -rf --parents $(find notebooks -name "*.yml") ./pythia

Diff for: .github/workflows/publish-quarto.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ jobs:
5252
env:
5353
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5454

55-
# - name: Cache Binder Build on mybinder.org
56-
# uses: jupyterhub/repo2docker-action@master
57-
# with:
58-
# NO_PUSH: true
59-
# MYBINDERORG_TAG: ${{ github.event.ref }}
60-
# REPO2DOCKER_EXTRA_ARGS: --subdir notebooks
55+
- name: Cache Binder Build on mybinder.org
56+
uses: jupyterhub/repo2docker-action@master
57+
with:
58+
NO_PUSH: true
59+
MYBINDERORG_TAG: ${{ github.event.ref }}
60+
REPO2DOCKER_EXTRA_ARGS: --subdir notebooks

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Earth Observation Datascience
22

33

4+
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/tuw-geo/eo-datascience/main)
5+
46
This is a book on Earth Observation Datascience, consisting of common
57
workflows in Python at the Department of Geodesy and Geoinformation at
68
the TU Wien (Vienna Austria).

Diff for: README.qmd

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ title: "Earth Observation Datascience"
33
format: gfm
44
---
55

6+
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/tuw-geo/eo-datascience/main)
7+
68
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).
79

810
The workflows comprise exercises that utilize remote sensing information, such as microwave backscattering from Sentinel-1 and visible range imagery from Sentinel-2.

Diff for: notebooks/Makefile

+4-3
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@ preview: $(CONDA_ENV)/envs/eo-datascience $(CONDA_ENV_DIR) $(KERNEL_DIR)
6868
jupyter-book build ./_preview
6969

7070
clean:
71-
rm --force --recursive .ipynb_checkpoints/ **/.ipynb_checkpoints/ _book/ \
72-
_freeze/ .quarto/ _preview/ ./pytest_cache ./**/**/**/.jupyter_cache \
73-
./**/**/.jupyter_cache
71+
rm --force --recursive **/.ipynb_checkpoints **/**/.ipynb_checkpoints \
72+
**/**/**/.ipynb_checkpoints **/.jupyter_cache \
73+
**/**/.jupyter_cache **/**/**/.jupyter_cache \
74+
_book _freeze .quarto _preview ./pytest_cache
7475

7576
teardown:
7677
conda remove -n eo-datascience --all -y

Diff for: notebooks/postBuild

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
set -x
4+
5+
make kernel

0 commit comments

Comments
 (0)