93df861be92835a93c3abe4ba5143aa21da8b87b
[talweg.git] / reports / run.sh
1 #!/bin/sh
2 # Usage: ./run.sh P H
3
4 nbfile=report_P$1_H$2.ipynb
5 ./ipynb_generator.py report.gj $nbfile P=$1 H=$2
6
7 htmlfile=report_P$1_H$2.html
8 jupyter-nbconvert \
9 --ExecutePreprocessor.kernel_name='ir' \
10 --ExecutePreprocessor.timeout=1800 \
11 --execute $nbfile \
12 --to notebook --output report.ipynb
13 # --to html --output=$htmlfile