Skip to content

Commit

Permalink
Merge pull request #134 from TeaganKing/fix_config
Browse files Browse the repository at this point in the history
fix for configuration file documentation images
  • Loading branch information
mnlevy1981 authored Sep 10, 2024
2 parents 82b20d7 + 7b1ec07 commit c8c336f
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

print("sys.path:", sys.path)

# Copy README and NCAR_tips into docs
# Copy README, NCAR_tips, and contributors into docs
# This block allows us to remove the header image from any md files
# without affecting the original version, but still pull the source
# into the docs build fresh each time.
Expand Down
10 changes: 5 additions & 5 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

This page describes the fields in the configuration file that might commonly be edited.

<img src="../../../images/config_1.png" alt="CUPiD Config 1" width=1000 />
<img src="_static/images/config/config_1.png" alt="CUPiD Config 1" width=1000 />
The data sources section of the configuration file describes general data sources and expected directory structure for running CUPiD.

`sname`: nickname for this configuration as a string. This will be used as the name of the folder your computed notebooks are put in

<img src="../../../images/config_2.png" alt="CUPiD Config 2" width=1000 />
<img src="_static/images/config/config_2.png" alt="CUPiD Config 2" width=1000 />
The computation config section of the configuration file supplies the default kernel for running CUPiD. This should usually be `cupid-analysis`. If a contributor wants to include additional packages, please create an issue describing the packages you'd like to add to this conda environment.


<img src="../../../images/config_3.png" alt="CUPiD Config 3" width=1000 />
<img src="_static/images/config/config_3.png" alt="CUPiD Config 3" width=1000 />
The above section of the configuration file describes 1) global parameters that are applicable to all notebooks and 2) timeseries-related parameters specific to each component.

`case_name`: name of CESM case; this should also be a subdirectory of `CESM_output_dir`.
Expand All @@ -24,12 +24,12 @@ The above section of the configuration file describes 1) global parameters that

`vars` for various components: variables which CUPiD will expect to find for various components and then make timeseries for.

<img src="../../../images/config_4.png" alt="CUPiD Config 4" width=1000 />
<img src="_static/images/config/config_4.png" alt="CUPiD Config 4" width=1000 />
The compute notebooks section of the configuration file describes the notebooks that will be computed as well as any parameters specific to those notebooks.

`nmse_PSL`: This is the name of a notebook which is added to the atmospheric component diagnostics.

`regridded_output`, `base_regridded_output`, `validation_path`, etc: These are parameters specific to the `nmse_PSL` notebook. If a contributor wants to include additional parameters specific to a notebook, we recommend following a similar format and changing variables names to represent the relevant quantities.

<img src="../../../images/config_5.png" alt="CUPiD Config 5" width=1000 />
<img src="_static/images/config/config_5.png" alt="CUPiD Config 5" width=1000 />
The Jupyter Book Table of Contents section of the configuration file describes the Juptyter Book configuration to display the output of the CUPiD diagnostics. Please include your notebook name within the files under `chapters`.

0 comments on commit c8c336f

Please sign in to comment.