Updating documentation of static models on config page.#702
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #702 +/- ##
===========================================
- Coverage 93.96% 93.89% -0.07%
===========================================
Files 75 77 +2
Lines 5828 5912 +84
===========================================
+ Hits 5476 5551 +75
- Misses 352 361 +9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@sallymatson I put together some ideas for an example, please let me know if you think this makes sense and I can create the new input file and add the plotting bits. I'll fix the numbering item issue. |
I think it's a great approach!! I think it would be helpful for us to figure out the best way to "name" the two approaches because then we can use them in the documentation (on the config page that I've been working on) and here, so that users can quickly understand how the two documents relate to eachother. Otherwise, I think it's clear and thorough !! |
for more information, see https://pre-commit.ci
…om/ImperialCollegeLondon/virtual_rainforest into 686-documentation-for-static-model
|
@sallymatson I updated the example to make it a bit simpler and focus only on the static setting that starts from scratch for now, not the option to provide all the variables at the start (I think it was a bit confusing and might be better in a separate example, for instance an experiment 3). |
I think that we would need to create a separate example config for the run. If we load the config first, then we could so something like this like I just did for some testing in the plants model:
Or, you could open the file in the jupyter notebook and edit it (and just explain that this code does not need to be copied.) But I generally think it would be easier and better practice to have its own config, especially since we wouldn't then know if the config changed for other reasons, if it would impact this tutorial. Does that make sense? If you want to upload the example you have and then I can play around with the config, happy to help more!! |
for more information, see https://pre-commit.ci
…esolved, TODO plotting isel
davidorme
left a comment
There was a problem hiding this comment.
This is good. I've suggested a few changes:
-
Some technical changes to the setup of the worked example (not using the
tomlpackage, syntax and hiding the programmatic config creation).I ran those changes locally to check I wasn't breaking it, so have a commit I can push if those sound sensible. Let me know if you want me to do that.
-
Some styling suggestions for accessibility and tweaks to wording.
-
I think the overview of static mode is a little hard hitting. Again - I have a revised version which I'm happy to push if that is ok.
| [example instructions](./virtual_ecosystem_in_use.md) to familiarise yourself with the | ||
| setup. | ||
|
|
||
| ```{code-cell} ipython3 |
There was a problem hiding this comment.
| ```{code-cell} ipython3 | |
| ```{code-cell} bash |
Here and elsewhere, these cells should not be styled as python.
There was a problem hiding this comment.
Oh bugger. We can't do this, because our use of jupytext dictates a single {code-cell} language and it automatically enforces this. See mwouts/jupytext#1267 (comment)
There was a problem hiding this comment.
I think all the relevant information is here but it goes in hard with technical details and repeats quite a lot - I think it would be easier to follow if it builds up a bit more from first principles.
|
@vgro and @sallymatson I've pushed my suggestions to a new PR subbranch off this one #905 and asked for a review. |
Co-authored-by: arne-scheire <97458577+arne-exe@users.noreply.github.com>
Co-authored-by: arne-scheire <97458577+arne-exe@users.noreply.github.com>
…om/ImperialCollegeLondon/virtual_rainforest into 686-documentation-for-static-model
…tions Suggestions for 686
Description
Documentation update for the static model.
The overview is built here and the example is built here.
A few notes:
ve_runso it does not clutter the documentation, and I also collapsed the code for the plots.@sallymatson I cannot add you as a reviewer, please feel free to comment :-)
Fixes #686
Type of change
Key checklist
pre-commitchecks:$ pre-commit run -a