Skip to content

Commit

Permalink
Lots more structural updates to the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamBindle committed Dec 16, 2020
1 parent d13c1b7 commit 335b050
Show file tree
Hide file tree
Showing 17 changed files with 65 additions and 30 deletions.
3 changes: 3 additions & 0 deletions docs/source/bibtex.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
"Eastham_et_al._2018",
"Zhuang_et_al._2020",
"Bindle_et_al._2020"
],
"stretched-grid": [
"Bindle_et_al._2020"
]
}
}
2 changes: 1 addition & 1 deletion docs/source/geos-chem-shared-docs
4 changes: 0 additions & 4 deletions docs/source/getting-started/key-references.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
Key References
==============


Key references
--------------

* GEOS-Chem was first described in :cite:`Bey_et_al._2001`.
* HEMCO is described in :cite:`Keller_et_al._2014`.
* Columnar operators are described in :cite:`Long_et_al._2015`.
Expand Down
23 changes: 18 additions & 5 deletions docs/source/getting-started/quick-start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Quick Start
===========

This quickstart guide assumes your environment satisfies :ref:`GCHP's requirements <software_requirements>`.
This means you should load a compute environment with programs like :program:`cmake` and :program:`mpirun` before continuing.
You can find more detailed instructions in the user guide.
This means you should load a compute environment such that programs like :program:`cmake` and :program:`mpirun`
are available, before continuing. You can find more detailed instructions in the user guide.

1. Clone GCHP
-------------
Expand All @@ -23,7 +23,20 @@ Checkout the GEOS-Chem version that you want to use:
gcuser:~/GCHP$ git checkout 13.0.0-beta.1
Initialize and update all the submodules.
.. note::
Version 13 is not officially released yet. Until then, the most recent
commit to :literal:`main` is the most stable version of GCHP. Therefore,
we recommend you checkout :literal:`main`, rather than a version
like :literal:`13.0.0-beta.1`. E.g.:

.. code-block:: console
$ git checkout main # recommended until version 13 is officially released
Once version 13 is released, we will resume recommending users checkout
a specific version.

Initialize and update all submodules:

.. code-block:: console
Expand All @@ -33,7 +46,7 @@ Initialize and update all the submodules.
-------------------------

Navigate to the :file:`run/` subdirectory.
Create a run directory by running :file:`./createRunDir.sh` and following the prompts:
Create a run directory by running :file:`./createRunDir.sh` and answering the prompts:

.. code-block:: console
Expand All @@ -44,7 +57,7 @@ Create a run directory by running :file:`./createRunDir.sh` and following the pr
-----------------------

Create a build directory and :command:`cd` into it.
A good name for this directory is :file:`build/`, and a good place to put it is in the
A good name for this directory is :file:`build/`, and a good place for it is in the
top-level of the source code:

.. code-block:: console
Expand Down
16 changes: 8 additions & 8 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ problems.

.. toctree::
:maxdepth: 1
:caption: Supplemental Guides
:caption: Supplement

step-by-step/rundir-config.rst
step-by-step/config-files.rst
step-by-step/spack.rst
step-by-step/containers.rst
step-by-step/plotting-output.rst
supplement/rundir-config.rst
supplement/config-files.rst
supplement/spack.rst
supplement/containers.rst
supplement/plotting-output.rst
stretched-grid.rst
step-by-step/satellite-overpass.rst
supplement/satellite-overpass.rst

.. toctree::
:maxdepth: 1
Expand All @@ -62,7 +62,7 @@ problems.

reference/SUPPORT.md
reference/CONTRIBUTING.md
reference/glossary.rst
geos-chem-shared-docs/editing_these_docs.rst
reference/git-submodules.rst
reference/glossary.rst
reference/versioning.rst
2 changes: 1 addition & 1 deletion docs/source/reference/git-submodules.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


Git submodules
Git Submodules
==============


Expand Down
9 changes: 7 additions & 2 deletions docs/source/stretched-grid.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@


Stretched-grid simulations
Stretched-Grid Simulations
==========================

.. note::
Stretched-grid simulations are described in :cite:`Bindle_et_al._2020`. The paper also discusses things
you should consider, and offers guidance for choosing appropriate stretching parameters.

A stretched-grid is a cubed-sphere grid that is "stretched" to enhance its resolution in a region.
To set up a stretched-grid simulation you need to do two things:

Expand Down Expand Up @@ -148,4 +152,5 @@ configuration files.

.. code-block:: console
$ ./runConfig.sh
$ ./runConfig.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Configuration files
Configuration Files
===================

GCHP is controlled using a set of resource configuration files that are included in the GCHP run directory, most of which are denoted by suffix :file:`.rc`.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Using GCHP containers
Using GCHP Containers
=====================

Containers are an effective method of packaging and delivering GCHP's source code and requisite libraries.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


Plotting GCHP output
Plotting GCHP Output
====================

todo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


Run directory configuration
Run Directory Configuration
===========================

All GCHP run directories have default simulation-specific run-time settings that are set when you create a run directory.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


Output along a track
Output Along a Track
====================

HISTORY collections can define a :literal:`track_file` that specifies a 1D timeseries of coordinates
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

.. _installing_with_spack:

Installing dependencies with Spack
Installing Dependencies with Spack
==================================


Expand Down
2 changes: 1 addition & 1 deletion docs/source/tutorials/stretched-grid.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Stretched-grid simulation: Eastern US
Stretched-Grid Simulation: Eastern US
=====================================

This tutorial walks you through setting up and running a stretched-grid simulation
Expand Down
15 changes: 14 additions & 1 deletion docs/source/user-guide/downloading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,18 @@ Checkout the version that you want to work with, and update your submodules:

.. code-block:: console
gcuser:~/Code.GCHP$ git checkout 13.0.0
gcuser:~/Code.GCHP$ git checkout 13.0.0-beta.1
gcuser:~/Code.GCHP$ git submodule update --init --recursive
.. note::
Version 13 is not officially released yet. Until then, the most recent
commit to :literal:`main` is the most stable version of GCHP. Therefore,
we recommend you checkout :literal:`main`, rather than a version
like :literal:`13.0.0-beta.1`. E.g.:

.. code-block:: console
$ git checkout main # recommended until version 13 is officially released
Once version 13 is released, we will resume recommending users checkout
a specific version.
2 changes: 1 addition & 1 deletion docs/source/user-guide/rundir-init.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

Creating a run directory
Creating a Run Directory
========================

GCHP run directories are created from within the source code.
Expand Down
5 changes: 5 additions & 0 deletions docs/source/user-guide/running.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
Running GCHP
============


.. note::
Another useful resource for instructions on running GCHP is our `YouTube tutorial <https://www.youtube.com/watch?v=K6frcfCjpds>`_.


This page presents the basic information needed to run GCHP as well as how to verify a successful run and reuse a run directory.
A pre-run checklist is included at the end to help prevent run errors.
The GCHP "standard" simulation run directory is configured for a 1-hr simulation at c24 resolution and is a good first test case to check that GCHP runs on your system.
Expand Down

0 comments on commit 335b050

Please sign in to comment.