Skip to content

Commit

Permalink
Updates and fix to build process 4/3/24
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmielin committed Apr 3, 2024
1 parent 6e300f7 commit 74dd94f
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 7 deletions.
35 changes: 35 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.12"
# You can also specify other tool versions:
# nodejs: "20"
# rust: "1.70"
# golang: "1.20"

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/source/conf.py
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
# builder: "dirhtml"
# Fail on all warnings to avoid broken references
# fail_on_warning: true

# Optionally build your docs in additional formats such as PDF and ePub
# formats:
# - pdf
# - epub

# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
# python:
# install:
# - requirements: docs/requirements.txt
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# -- Project information

project = 'WRF-GC'
copyright = '2018-2022 The WRF-GC Authors'
copyright = '2018-2024 The WRF-GC Authors'
author = 'Haipeng Lin, Xu Feng, Tzung-May Fu'

release = '2.0'
Expand Down
15 changes: 9 additions & 6 deletions docs/source/extra-diagnostics.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
Additional diagnostics
=======================

For WRF-GC 3.0
---------------------
Since WRF-GC 3.0, we reimplement the GEOS-Chem diagnostics (specified in ``HISTORY.rc``) and HEMCO diagnostices (specieied in ``HEMCO_Diagn.rc`` and ``HEMCO_Config.rc``).
To enable WRF-GC 3.0 diagnostics, you need to install and define ``PNETCDF`` in your environmental configuration file **before** you compile WRF-GC.
---------------
Since WRF-GC 3.0, we reimplement the GEOS-Chem diagnostics (specified in ``HISTORY.rc``) and HEMCO diagnostics (specified in ``HEMCO_Diagn.rc`` and ``HEMCO_Config.rc``).
To enable WRF-GC 3.0 diagnostics, you need to install and define ``PNETCDF`` in your environment configuration file **before** you compile WRF-GC.

For HISTORY.rc we currently support attributes:

Expand All @@ -18,12 +19,14 @@ Not supported:
- LAT_RANGE
- levels

For more information about ``History diagnostics``, please refer to `GEOS-Chem document<https://wiki.seas.harvard.edu/geos-chem/index.php/Overview_of_History_diagnostics>`_.
For more information about ``History diagnostics``, please refer to the `GEOS-Chem documentation <https://wiki.seas.harvard.edu/geos-chem/index.php/Overview_of_History_diagnostics>`_.

.. note::
``SpeciesConc`` collection in GEOS-Chem is still output through ``wrfout``, it is not available in ``HISTORY.rc``. Turning on this collection in ``HISTORY.rc`` may cause errors.

For HEMCO diagnostics, we current only support ``instantaneous`` mode, for more information, please refer to `HEMCO diagnostics<https://hemco.readthedocs.io/en/stable/hco-ref-guide/diagnostics.html>`_.
For HEMCO diagnostics, we current only support ``instantaneous`` mode, for more information, please refer to `HEMCO diagnostics <https://hemco.readthedocs.io/en/stable/hco-ref-guide/diagnostics.html>`_.

Legacy (WRF-GC 2.0) diagnostics are still supported and can be output through ``wrfout``, although they are considerably more limited than the new functionality.

For WRF-GC 2.0
----------------
Expand All @@ -33,7 +36,7 @@ By default, WRF-GC 2.0 outputs **all instantaneous species mixing ratios (ppmv)*
Because WRF-GC uses WRF as output, GEOS-Chem diagnostics (specified in ``HISTORY.rc``) are unavailable in WRF-GC. But they can be written using some light code editing.

Limited support for GEOS-Chem diagnostics
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The following GEOS-Chem diagnostics (from `the GEOS-Chem netCDF/History diagnostics list <http://wiki.seas.harvard.edu/geos-chem/index.php/Collections_for_History_diagnostics>`_) are supported in a limited way:

Expand Down

0 comments on commit 74dd94f

Please sign in to comment.