Template
auto generate Jupyter notebooks
This commit is contained in:
@@ -2,11 +2,15 @@
|
|||||||
# run: . walk_logs.sh DDmmmYYYY
|
# run: . walk_logs.sh DDmmmYYYY
|
||||||
# $1 is param 1 date as DDmmmYYYY e.g. 27nov2022
|
# $1 is param 1 date as DDmmmYYYY e.g. 27nov2022
|
||||||
|
|
||||||
|
#### EDIT YOUR N-number HERE ####
|
||||||
|
PLANE="N72KH"
|
||||||
|
|
||||||
pushd ./programs/
|
pushd ./programs/
|
||||||
python walk_logs.py $1
|
python walk_logs.py $1
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# TODO: make this scriptable!
|
DATE=$(./programs/dMoYr_yyyymmdd.py $1)
|
||||||
# jupyter nbconvert --to notebook --execute date_efis.ipynb
|
|
||||||
# jupyter nbconvert --to notebook --execute date_ems.ipynb
|
jupyter nbconvert --to notebook --execute ${PLANE}\ Data/flights/$1/${DATE}_efis.ipynb
|
||||||
|
jupyter nbconvert --to notebook --execute ${PLANE}\ Data/flights/$1/${DATE}_ems.ipynb
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user