Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
96e57c3
Revamp docs: User Guide + Developer Guide structure
Copilot Jun 3, 2026
61681bc
Fix doc review issues: spelling, incomplete sentence, placeholder com…
Copilot Jun 3, 2026
5a7b383
Revisions
forsyth2 Jun 3, 2026
22ae4a6
Add dependencies graph
forsyth2 Jun 5, 2026
1015442
Update dependencies in task docs
forsyth2 Jun 5, 2026
925140a
Move dependencies docs to user guide
forsyth2 Jun 5, 2026
aa10058
Add specific testing instructions
forsyth2 Jun 5, 2026
e90e878
Remove older test docs
forsyth2 Jun 5, 2026
45e75a5
Refine test doc references
forsyth2 Jun 5, 2026
7872f74
Update archives
forsyth2 Jun 5, 2026
ad81918
Address comments
forsyth2 Jun 8, 2026
e94f5ac
Fix web server paths
forsyth2 Jun 8, 2026
21c0fe7
Formatting fixes and other small changes
forsyth2 Jun 8, 2026
14770bc
Update parameter docs for non-plot tasks
forsyth2 Jun 8, 2026
bc522bc
Revise task parameter docs to match default.ini structure
Copilot Jun 9, 2026
35e72f1
Revise e3sm_diags parameters doc
forsyth2 Jun 9, 2026
3a5823f
Revise mpas_analysis parameters doc
forsyth2 Jun 9, 2026
d2aecf5
Revise global_time_series parameters doc
forsyth2 Jun 9, 2026
8d61c2d
Revise pcmdi_diags parameter doc
forsyth2 Jun 9, 2026
4ef7e91
Add top-level parameter link
forsyth2 Jun 9, 2026
c65ca78
Address comments
forsyth2 Jun 9, 2026
1021c7a
Explain task design philosophy
forsyth2 Jun 17, 2026
91160af
Address Copilot review comments
forsyth2 Jun 18, 2026
320736d
Document recently merged code
forsyth2 Jun 26, 2026
0a4d4f3
Address Copilot review comments
forsyth2 Jun 26, 2026
ada447c
Remove accidental mail-to links
forsyth2 Jun 26, 2026
93cc7f4
Fix E3SM Unified wording
forsyth2 Jun 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions docs/source/campaigns.rst

This file was deleted.

164 changes: 0 additions & 164 deletions docs/source/contributing.rst

This file was deleted.

104 changes: 104 additions & 0 deletions docs/source/dependencies.dot
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
digraph TaskDependencies {
// Graph settings
rankdir=LR // Left-to-right layout (TB for top-to-bottom)
node [shape=box, style=rounded]

// Reviewing the dependencies in each `.py` file
// and the test cfgs, we come up with the following:

// VERTICES (tasks)

climo_diurnal_atm [label="climo: diurnal, atm"]
climo_month_atm [label="climo: monthly, atm"]
climo_month_lnd [label="climo: monthly, lnd"]

ts_daily_atm [label="ts: daily, atm"]
ts_month_atm [label="ts: monthly, atm"]
ts_month_atm_glb [label="ts: monthly, atm, glb"]
ts_month_lnd [label="ts: monthly, lnd"]
ts_month_lnd_glb [label="ts: monthly, lnd, glb"]
ts_month_rof [label="ts: monthly, rof"]

e3sm_to_cmip_month_atm [label="e3sm_to_cmip: monthly, atm"]
e3sm_to_cmip_month_lnd [label="e3sm_to_cmip: monthly, lnd"]

tc_analysis

e3sm_diags_diurnal [label="e3sm_diags: diurnal_cycle"]
e3sm_diags_climo_month_atm [label="e3sm_diags: lat_lon,zonal_mean_xy,\nzonal_mean_2d,polar,cosp_histogram,\nmeridional_mean_2d,annual_cycle_zonal_mean,zonal_mean_2d_stratosphere,\naerosol_aeronet,aerosol_budget"]
e3sm_diags_climo_month_lnd [label="e3sm_diags: lat_lon_land"]
e3sm_diags_streamflow [label="e3sm_diags: streamflow"]
e3sm_diags_tc [label="e3sm_diags: tc_analysis"]
e3sm_diags_ts_daily_atm [label="e3sm_diags: tropical_subseasonal,precip_pdf"]
e3sm_diags_ts_month_atm [label="e3sm_diags: enso_diags,qbo,\narea_mean_time_series,mp_partition"]

mpas_analysis

global_time_series_classic_atm [label="global_time_series:\nThe 5 atm classic plots"]
global_time_series_classic_ocn [label="global_time_series:\nThe 3 ocn classic plots"]
global_time_series_plots_atm [label="global_time_series:\natm plots"]
global_time_series_plots_ice [label="global_time_series:\nice plots"] // Currently unused
global_time_series_plots_lnd [label="global_time_series:\nlnd plots"]
global_time_series_plots_ocn [label="global_time_series:\nocn plots"]

ilamb_lnd_atm [label="ilamb: lnd & atm"]
ilamb_lnd_only [label="ilamb: lnd only"]

livvkit

pcmdi_diags_mean_climate [label="pcmdi_diags: mean_climate"]
pcmdi_diags_variability_modes_atm [label="pcmdi_diags: variability_modes_atm"]
pcmdi_diags_variability_modes_cpl [label="pcmdi_diags: variability_modes_cpl"]
pcmdi_diags_enso [label="pcmdi_diags: enso"]
pcmdi_diags_synthetic_plots [label="pcmdi_diags: synthetic_plots"]


// EDGES (dependencies)

// Defined in climo.py:
// None

// Defined in ts.py:
// None

// Defined in e3sm_to_cmip.py:
ts_month_atm -> e3sm_to_cmip_month_atm
ts_month_lnd -> e3sm_to_cmip_month_lnd

// Defined in tc_analysis.py:
// None

// Defined in e3sm_diags.py:
climo_month_atm -> e3sm_diags_climo_month_atm
climo_month_lnd -> e3sm_diags_climo_month_lnd
climo_diurnal_atm -> e3sm_diags_diurnal
tc_analysis -> e3sm_diags_tc
ts_month_atm -> e3sm_diags_ts_month_atm
ts_month_rof -> e3sm_diags_streamflow
ts_daily_atm -> e3sm_diags_ts_daily_atm

// Defined in mpas_analysis.py:
mpas_analysis -> mpas_analysis // Later year sets depend on earlier runs

// Defined in global_time_series.py:
ts_month_atm_glb -> {global_time_series_classic_atm, global_time_series_plots_atm}
ts_month_lnd_glb -> global_time_series_plots_lnd
mpas_analysis -> {global_time_series_classic_ocn, global_time_series_plots_ocn}

// Defined in ilamb.py:
ts_month_atm -> ilamb_lnd_atm
ts_month_lnd -> {ilamb_lnd_atm, ilamb_lnd_only}
e3sm_to_cmip_month_atm -> ilamb_lnd_atm
e3sm_to_cmip_month_lnd -> {ilamb_lnd_atm, ilamb_lnd_only}

// Defined in livvkit.py:
// Data sources in livvkit.py: "cmb", "smb", "racmo", "merra2", "ceres", "era5"
// climo extensions in tests/integration/template_weekly_comprehensive_v3.cfg: traave, native, racmo_gis, racmo_ais, merra2, era5
// ts extensions in tests/integration/template_weekly_comprehensive_v3.cfg: energy, smb
climo_month_lnd -> livvkit [label="Specify mapping files"]
ts_month_lnd -> livvkit [label="Specify mapping files"]

// Defined in pcmdi_diags.py:
{ts_month_atm, e3sm_to_cmip_month_atm} -> {pcmdi_diags_mean_climate, pcmdi_diags_variability_modes_atm, pcmdi_diags_variability_modes_cpl, pcmdi_diags_enso} -> pcmdi_diags_synthetic_plots

}
14 changes: 14 additions & 0 deletions docs/source/dev_guide/archive/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.. _archive:

*******
Archive
*******

This page collects documentation that is obsolete or refers to older
versions of ``zppy`` or the E3SM Unified environment. It is retained for
historical reference.

.. toctree::
:maxdepth: 1

initial_docs
72 changes: 72 additions & 0 deletions docs/source/dev_guide/archive/initial_docs.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
**********************************
How to set up new documentation
**********************************

.. warning::
The instructions below only apply for the initial configuration of the
Sphinx documentation on the Github repository. They are documented here
for reference only. Do not follow them unless you are setting up documentation
for a new repository. (Adapted from `Sphinx documentation on GitHub
<http://datadesk.latimes.com/posts/2012/01/sphinx-on-github>`_.)
Comment thread
forsyth2 marked this conversation as resolved.

Create Sphinx conda environment (see above).

Create a new git branch (gh-pages): ::

$ git branch gh-pages
$ git checkout gh-pages

Clear out any­thing from the main branch and start fresh ::

$ git symbolic-ref HEAD refs/heads/gh-pages
$ rm .git/index
$ git clean -fdx

Create documentation ::

$ sphinx-quickstart

accept suggested default options, except ::

Separate source and build directories (y/N) [n]: y

Edit Makefile and change ``BUILDDIR`` ::

BUILDDIR = docs

Remove old build directory ::

$ rmdir build

Change the Sphinx theme to 'ReadTheDocs'. Edit 'source/conf.py and change ::

html_theme = 'alabaster'

to ::

import sphinx_rtd_theme
html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

Try building documentation ::

$ make html

Create an empty .nojekyll file to indicate to GitHub.com that this
is not a Jekyll static website: ::

$ touch .nojekyll

Create a top-level re-direction file: ::

$ vi index.html

with the following: ::

<meta http-equiv="refresh" content="0; url=./docs/html/index.html" />

Commit and push back to GitHub: ::

$ git add .
$ git commit
$ git push origin gh-pages
Loading
Loading