Skip to content

Commit

Permalink
Moving plotting output section to user guide and clean up user guide …
Browse files Browse the repository at this point in the history
…names

Signed-off-by: Lizzie Lundgren <elundgren@seas.harvard.edu>
  • Loading branch information
lizziel committed Jun 22, 2022
1 parent aebeb05 commit 89cc57d
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 22 deletions.
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ with Spack, as well as how to use Spack to install GCHP's dependencies if needed
user-guide/running.rst
user-guide/rundir-config.rst
user-guide/output_files.rst
supplement/plotting-output.rst

.. toctree::
:maxdepth: 1
Expand All @@ -66,7 +67,6 @@ with Spack, as well as how to use Spack to install GCHP's dependencies if needed
supplement/setting-up-aws-parallelcluster.rst
supplement/caching-input-data.rst
supplement/containers.rst
supplement/plotting-output.rst
stretched-grid.rst
supplement/satellite-overpass.rst
geos-chem-shared-docs/supplemental-guides/bashdatacatalog.rst
Expand Down
4 changes: 2 additions & 2 deletions docs/source/user-guide/compiling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

.. _building_gchp:

Compiling GCHP
==============
Compile
=======

There are three steps to building GCHP. The first is configuring your build, which is done with :program:`cmake`;
the second step is compiling, which is done with :program:`make`. The third step is install, which is also done with :program:`make`.
Expand Down
4 changes: 2 additions & 2 deletions docs/source/user-guide/downloading.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _downloading_gchp:

Downloading GCHP
================
Download to model
=================

The GCHP source code is hosted at https://github.com/geoschem/GCHP. Clone
the repository:
Expand Down
4 changes: 2 additions & 2 deletions docs/source/user-guide/getting-input-data.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _downloading_input_data:

Downloading Input Data
======================
Download Input Data
===================

Input data for GEOS-Chem is available at http://geoschemdata.wustl.edu/ExtData/.

Expand Down
9 changes: 1 addition & 8 deletions docs/source/user-guide/output_files.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ A successful GCHP run produces three categories of output files: diagnostics, re
.. note::
It is important to be aware that GCHP 3D data files in this version of GCHP have two different vertical dimension conventions. Restart files and Emissions diagnostic files are defined with top-of-atmospheric level equal to 1. All other data files, meaning all diagnostic files that are not Emissions collections, are defined with surface level equal to 1. This means files may be vertically flipped relative to each other. This should be taken into account when doing data visualization and analysis using these files.

Descriptions
------------
Below is a summary of all GCHP output files that you may encounter depending on your run directory configuration.

:file:`gchp.YYYYMMSS_HHmmSSz.log`
Standard output log file of GCHP, including both GEOS-Chem and HEMCO. The date in the filename is the start date of the simulation. Using this file is technically optional since it appears only in the run script. However, the advantage of sending GCHP standard output to this file is that the logs of consecutive runs will not be over-written due to the date in the filename. Note that the file contains HEMCO log information as well as GEOS-Chem. Unlike in GEOS-Chem Classic there is no :file:`HEMCO.log` in GCHP.
Expand Down Expand Up @@ -39,9 +38,3 @@ Descriptions
:file:`warnings_and_errors.log`
This file is empty and can be ignored.

Data visualization and post-processing
--------------------------------------

With the exception of the restart file, all GCHP output netCDF files may be viewed with Panoply software freely available from NASA GISS. In addition, the GEOS-Chem python package GCPy is fully functional with GCHP output files.


Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Plotting GCHP Output
====================

With the exception of the restart file, all GCHP output netCDF files may be viewed with Panoply software freely available from NASA GISS. In addition, python works very well with all GCHP output.

Panoply
-------

Expand Down Expand Up @@ -73,4 +75,4 @@ Here is a basic example of plotting cubed-sphere data:
.. note::

The grid-box corners should be used with :code:`pcolormesh()` because the grid-boxes are not regular (it's a curvilinear grid).
This is why we use :code:`corner_lats` and :code:`corner_lons` in the example above.
This is why we use :code:`corner_lats` and :code:`corner_lons` in the example above.
4 changes: 2 additions & 2 deletions docs/source/user-guide/rundir-config.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


Run Directory Configuration
===========================
Configure a run
===============

All GCHP run directories have default simulation-specific run-time settings that are set in the configuration files. The many configuration files in GCHP can be overwhelming. However, you should be able to accomplish most if not all of what you wish to configure from one place in :file:`setCommonRunSettings.sh`. Use the rest of this guide to get acquainted with the configuration files and hone in on what to change based on what you would like to do.

Expand Down
4 changes: 2 additions & 2 deletions docs/source/user-guide/rundir-init.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _creating_a_run_directory:

Creating a Run Directory
========================
Create a Run Directory
======================

Run directories are created with the :file:`createRunDir.sh` script in the :file:`run/` subdirectory of the source code.
Run directories are version-specific, so you need to create new run directories for every GEOS-Chem version.
Expand Down
4 changes: 2 additions & 2 deletions docs/source/user-guide/running.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

.. _running_gchp:

Running GCHP
============
Run the model
=============

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

0 comments on commit 89cc57d

Please sign in to comment.