-
Notifications
You must be signed in to change notification settings - Fork 11
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
ReadTheDocs documentation for KPP 2.5.0 #41
Conversation
We now have separated the document into Getting Started, Using KPP, Technical Information, Citations, and Help and Reference. Also move the various rst files around into subfolders of source. Also added a bibtex.json file for the citations. Updated conf.py so that citations can be automatically added from the *.bib files. Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
src/gen.c - Change the comment for Vdotout that is added to subroutine Fun(). This fixes a copy-and-paste typo. Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
(1) Split files across docs/source/getting_started, docs/source/using_kpp, docs/source/tech_info, docs/source/citations, and docs/source/reference (2) Updated conf.py to remove the rubric for references (3) Updated content in "Input for KPP" and "Output from KPP" (4) Added figures and table titles (5) Trimmed trailing whitespace Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
Made several formatting updates to the "Input for KPP" and "Output from KPP" chapters, mostly involving tables and references. Also added some extra information in the form of "information" or "tip" boxes. Also added references to bibtex.json, which will list in the References page. Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
Also added some formatting changes Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
- Added a section on C-I tests - Added the model coefficients for RODAS-3 and RODAS-4 - Added remaining citations to journal articles - Fixed link issues - Removed references to Fortran77 - Trimmed trailing whitespace - Condensed BibTeX files "adrian.bib" and "rolf.bib" into "kpp.bib", located in the citations folder. Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
docs/source/index.rst - Updated Mike Long's affiliation docs/source/tech_info/06_info_for_kpp_developers.rst - Fixed grammar ("that" instead of "which") - Changed "section" to "sections" at the end of the C-I tests main section Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
.ci-pipelines/*.sh - Add "small_strato" to the for loop so that it will be included in the tests (and cleanup) ci-tests/small_strato/* - Define a C-I test using the same KPP definition file as listed in Chapter 2 of the KPP Manual on kpp.readthedocs.io. Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
Thanks, this must have been a lot of work! I will go through the |
00_revision_history.html:
|
01_installation.html:
|
02_running_kpp_sample_mech.html:
|
04_input_for_kpp.html:
|
Agreed. We should rename that. I can do that in the docs branch.
Yes, pandoc somehow didn't bring over text beginning with #. I have had to add them manually, and I probably didn't catch everything. I've been going back & forth between the PDF and the ReadTheDocs, and I'll go over it again to make sure I catch any more missing commands. In the meantime if you see any more missing # then let me know. |
Now done, will push soon. |
OK, I'll take care of this.
I noticed that the same problem also occurs for text without "The _____ atom can also be used to control mass balance checking." Maybe the problem is that pandoc could not treat the self-defined |
Oops. I overlooked that you volunteered to do this... Yes, please go ahead if you want... |
index.html:
|
We have removed the models/atoms file and renamed that to models/atoms.kpp, so that all important files will have an extension. Also updated the symbolic links in the various ci-tests folders. Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
models/saprc99.spc models/saprcnov.spc models/small_strato.spc Changed #INCLUDE atoms to #INCLUDE atoms.kpp Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
04_input_for_kpp.html (There's a lot of KPP I didn't know about!) |
I haven't used |
Very good explanation
It seems like a lot of thought went into getting inefficiencies ironed out.
…On 5/18/22 03:06, Rolf Sander wrote:
Can an example of #DECLARE be provided?
I haven't used |#DECLARE| myself but I think the idea is this: If
|NSPEC| is a Fortran PARAMETER, a clever compiler can insert its value
into |C(NSPEC)| at compile-time. A stupid compiler will look up the
value of |NSPEC| every time it encounters |C(NSPEC)|. If NSPEC=7, KPP
can directly generate |C(7)| for those stupid compilers.
—
Reply to this email directly, view it on GitHub
<#41 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABVE23YY32XBQ6SQBDMKVW3VKSJGDANCNFSM5WC3H74A>.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
Thanks, this section has improved a lot! (I fixed a small error about |
Another idea regarding In MECCA, we use this for ions in the aqueous phase and also for ions in |
docs/source/getting_started/02_running_kpp_sample_mech.rst - Updated the doc to explain that the user does not need to copy the other files to the example folder. Also include the small_strato.def file with comments. models/small_strato.def - Add comments - Remove F77_INLINE Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
The second line of {} comments within the F90_INIT caused a compilation error. These have now been removed for all *_INIT blocks in small_strato.def. The manual page has also been updated. Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
docs/source/getting_started/02_running_kpp_sample_mech.rst - Reorder sections in the KPP definition file description so that they match the order listed in the definition file small_strato.kpp models/small_strato.def - Now place {} comments above the _INIT sections, to avoid compile-time errors Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
docs/source/using_kpp/04_input_for_kpp.rst - Rewrite description of #LUMP w/ text supplied by Mike Long - Add a more detailed description of the #DECLARE command Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
KPP can look for the relevant files to include in the models/, drv/, int/, and examples/ folders, so there is no need to link to these files. In each folder in ci-tests/, only keep the KPP definition file. Also updated the .ci-pipelines/ci-manual-cleanup-script.sh to remove the KPP-generated Makefile in each subfolder in ci-tests. Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
In the current docs branch, the RK RADAU5 integrator option is named kpp_radau5. In the cleanup_int branch we are renaming this to just radau5. Restore the kpp_radau5 in docs in order to get C-I tests to pass. Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
@msl3v: I added your sample text to |
docs/source/getting_started/02_running_kpp_sample_mech.rst - Move "we will now look at the following..." to before the #MODEL small_strato section - Removed extraneous word "species" - Fixed broken ref links - Indented the equations section to fall under ".. code_block::" - Trimmed trailing whitespace Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
Reword some sentences in the "Running KPP with an example stratospheric mechanism" for better readability. Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
@RolfSander @msl3v let me know when the doc is good enough to move to release 2.5.0 ... |
Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
Forgot to add it in the last update Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
We still have to improve the documentation but that shouldn't stop us Since the documentation is now online, people will always find the |
docs/source/getting_started/00_revision_history.rst - Added variables and files in :code: or :file: blocks docs/source/using_kpp/04_input_for_kpp.rst - Updates for readability Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
Great! I'll move to release later today. |
This will make the table of contents look consistent, with only the first character of each section & subsection heading capitalized (excluding subsections that are commands etc.) Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
/05_output_from_kpp.html ROOT_Model: Suggest restating this to something like, "ROOT_Model.f90 unifies all model definitions in a single module. This simplifies inclusion into external Fortran programs. Table 5: Add that the values are from the small_strato example and maybe hyperlink it to that description. ROOT_Function: I get a "Math Processing Error" here affter ... example stratospheric mechansim) is:" Also suggest adding a briefstatement about what Function() does at the beginning of this section. ROOT_Jacobian: Another Math Processing Error. Also add a statement about the contents of ROOT_Jacobian and ROOT_JacobianSP. ... more later |
I've made several updates to the ReadTheDocs documentation and I think we are now in a pretty good place to releasing KPP 2.5.0. Please take a look at https://kpp.readthedocs.io and let me know if you have any suggested changes.