-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix jupyter notebook demos #357
Conversation
cpjordan
commented
Jan 17, 2024
- Update plot imports from Firedrake
- Update from DumbCheckpoint to CheckpointFile
- Update corresponding text
- Update bathymetry file loading hint on tsunami example
- Update plot imports from Firedrake - Update from DumbCheckpoint to CheckpointFile - Update corresponding text - Update bathymetry file loading hint on tsunami example
I think the failure is because I have used a differently named Jupyter kernel locally which alters the notebook metadata. I will re-run the notebooks with the default kernel name and hopefully that fixes this issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks very much for this!
I notice you added a new cell at the end of the tsunami demo that describes using CheckpointFile
instead of DumbCheckpoint
. Would you mind updating the bathymetry file so that it is in the new format? i.e. read with DumbCheckpoint
and then overwrite with CheckpointFile
? It would be good if we could move away from referring to DumbCheckpoint
at all as it was replaced a while ago now.
Would you mind making a couple of other minor changes?
- Drop the "this mesh was actually created using qmesh mentioned in yesterday's lecture" bracket in the tsunami notebook.
- Capitalise Firedrake and Python in both notebooks.
Much appreciated.
- Saved bathy.h5 using CheckpointFile - Made grammar/spelling updates to both .ipynb demos
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice - I see you fixed a few things I'd missed, too :)