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