Skip to content

Commit

Permalink
Add helper script to update the content.
Browse files Browse the repository at this point in the history
  • Loading branch information
amanning9 committed Nov 21, 2024
1 parent 4ef4245 commit 690dca3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions python-data/update-script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/bash

set -e

# Make sure isc is up to date.
git -C ~/ncas-isc pull

# Update the files.
cp ~/ncas-isc/python-data/exercises/ex04_cf_python.ipynb ~/my-isc-work/python-data/exercises/ex04_cf_python.ipynb
cp -r ~/ncas-isc/python-data/data/ ~/my-isc-work/python-data/data
cp ~/ncas-isc/python-data/solutions/ex04_cf_python.ipynb ~/my-isc-work/python-data/solutions/ex04_cf_python.ipynb
cp -r ~/ncas-isc/python-data/notebooks ~/my-isc-work/python-data/notebooks

0 comments on commit 690dca3

Please sign in to comment.