Include sentinel_helpers.py and repository button in jupyter-book

This commit is contained in:
heyarne 2021-03-02 14:30:28 +01:00
commit 5461777aea
4 changed files with 22 additions and 10 deletions

View file

@ -46,15 +46,22 @@ Note that working with this kind of data is resource intensive.
These notebooks download or create roughly 50GB of data, most of which is occupied by compressed GeoTIFF files.
They have been executed and tested on a virtual server with 4 CPU cores with a clock speed of 2.6 GHz each and 32 GB of RAM.
There are notebooks cells with `%%time` or `%%timeit` magic commands. There ouput contains infromation about execution time on the system described above.
There are notebooks cells with `%%time` or `%%timeit` magic commands.
Their ouput contains information about the execution time on the system described above.
## Building the Jupyter Book
The `jupyter-book` dependency is included in the `Dockerfile`.
You can build a book from a running container by executing the following command on the Docker host:
You can build a book from a running container by executing the following command when the container above is running:
```
docker run eratosthenes jupyter-book build .
docker exec eratosthenes jupyter-book build .
```
Alternatively you can start a container just to build the book
```
docker run -v "$(pwd)":/home/jovyan eratosthenes:latest jupyter-book build .
```
The resulting book can be found in the directory `_build/html/`.