X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=reports%2Frun.sh;h=d10819971fa621a62f17e668616dffeb69bb54e0;hb=9003747badc4416d68cab45ff17de3ecea327942;hp=a6b31cee6c89223769627d0131132017bbf7cfba;hpb=31f7d913d4a99d0a4db9bcfe40e31cebf90b22e6;p=talweg.git diff --git a/reports/run.sh b/reports/run.sh old mode 100644 new mode 100755 index a6b31ce..d108199 --- a/reports/run.sh +++ b/reports/run.sh @@ -1,3 +1,12 @@ #!/bin/sh +# Usage: ./run.sh P H -jupyter-nbconvert --ExecutePreprocessor.timeout=1800 --to notebook --execute report_2017-03-01.ipynb +nbfile=report_P$1_H$2.ipynb +./ipynb_generator.py report.gj $nbfile P=$1 H=$2 + +htmlfile=report_P$1_H$2.html +jupyter-nbconvert \ + --ExecutePreprocessor.kernel_name='ir' \ + --ExecutePreprocessor.timeout=1800 \ + --to html --execute $nbfile \ + --output=$htmlfile