-
-
Notifications
You must be signed in to change notification settings - Fork 426
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
Making Changes to Several Tutorials #1763
Making Changes to Several Tutorials #1763
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Codecov Report
@@ Coverage Diff @@
## master #1763 +/- ##
=======================================
Coverage 58.42% 58.42%
=======================================
Files 66 66
Lines 6684 6684
=======================================
Hits 3905 3905
Misses 2779 2779 Continue to review full report at Codecov.
|
93da632
to
749ce23
Compare
Before a pull request is accepted, it must meet the following criteria:
|
I think we definitely need to be careful about removing information (e.g. the SDEC plot examples) but otherwise generally good |
@@ -14,384 +14,28 @@ | |||
"cell_type": "markdown", |
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.
@@ -2,14 +2,13 @@ | |||
"cells": [ |
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.
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.
My thinking is that we want to show the defaults in quickstart. @wkerzendorf to my memory talked about changing it so "info" is the default.
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.
These changes are so thoughtful - awesome work @smithis7 🎉
There are few things:
- Can you rename "TARDIS Grid Tutorial" to "TARDIS Grid" - I think tutorial looks bit odd considering how its sibling sections are named
- It needs rebase, there are merge conflicts in logging notebook
- Your created hdf don't show up Ar for real packet population but shows up for virtual - can you please fix that we really want to show same colorscale in both packets_mode to avoid confusion
- About adding hdf to visualization folder seems reasonable to make it run on binder and since you've freed lot of space by removing outputs. But I'd ask @wkerzendorf to have a final say on this!
27b8f82
to
b6668f5
Compare
I have rebased and fixed the hdf issue. And I did talk to Wolfgang about adding the HDF before I submitted this PR. For the "TARDIS Grid" page, there are a few things on that that are being talked about (i.e. the filename will be changed and we may move the file and possibly come up with a different name), so I think we should make any changes to that page all at once. And, Marc will make the changes to the file name so it still shows him as the page author. |
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.
Sorry, it took me so long to review this - well done!
* changing hdf notebooks * formatting physical_quantities.ipynb * updating atom data error message * formatting read_configuration notebook * deleting duplicate notebook * actually deleting duplicate notebook * fixing visualization notebooks that require hdf * shrinking hdf * clearning notebook outputs * removing some sdec examples * small changes in many tutorials * redoing callback example and adding note to quickstart * a few changes to stella_to_tardis * adding atomic data to grid tutorial * clearing output in stella_to_tardis * adding missing import statement * fixing typos * changing hdf so that Ar shows in real SDEC plot
Description
Changes include:
download_atom_data
function to every notebook that needs it so that the notebooks will run properly in binder.tardis/io/atom_data/util.py
to use the correct import.docs/io/configuration/components/models/Custom_TARDIS_Model_Tutorial.ipynb
which is supposed to have those error -- I will be returning to this notebook in a later PR).docs/io/configuration/components/models/Custom_TARDIS_Model_Tutorial.ipynb
) so that they will be executed by nbsphinx.docs/io/visualization/
so that the visualization notebooks can run. Because I cleared the output indocs/io/visualization/sdec_plot.ipynb
, this PR will still decrease the overall size of the repo.docs/io/visualization/sdec_plot.ipynb
so that the built file is <100 MB (GH pages requirement).docs/io/configuration/components/models/densitycust/Custom_Density_And_Boundary_Velocities.ipynb
).docs/io/optional/callback_example.ipynb
.docs/io/configuration/read_configuration.ipynb
and including information about reading configuration dictionaries.docs/io/output/hdf_writer.ipynb
to be underdocs/outdated
, allowing me to make our section about writing a simulation to an HDF much more simple.NOTE: the docs building now takes way too long. I am exploring options to fix this.
Motivation and context
Now, nearly all of the TARDIS tutorials we want to work are actually working and formatted properly.
How has this been tested?
Examples
https://smithis7.github.io/tardis/branch/notebook_format_doc/
Type of change
Checklist