auto generate Jupyter notebooks

This commit is contained in:
ken
2022-11-27 15:34:37 -08:00
parent 29a40fa4db
commit 7ddfa4e13c
+7 -3
View File
@@ -2,11 +2,15 @@
# run: . walk_logs.sh DDmmmYYYY
# $1 is param 1 date as DDmmmYYYY e.g. 27nov2022
#### EDIT YOUR N-number HERE ####
PLANE="N72KH"
pushd ./programs/
python walk_logs.py $1
popd
# TODO: make this scriptable!
# jupyter nbconvert --to notebook --execute date_efis.ipynb
# jupyter nbconvert --to notebook --execute date_ems.ipynb
DATE=$(./programs/dMoYr_yyyymmdd.py $1)
jupyter nbconvert --to notebook --execute ${PLANE}\ Data/flights/$1/${DATE}_efis.ipynb
jupyter nbconvert --to notebook --execute ${PLANE}\ Data/flights/$1/${DATE}_ems.ipynb