Skip to content

Commit

Permalink
move images to docs/_static/images/config
Browse files Browse the repository at this point in the history
  • Loading branch information
TeaganKing committed Sep 10, 2024
1 parent 673b009 commit 7b1ec07
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 15 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
10 changes: 0 additions & 10 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,6 @@
with open(file, "w") as f:
f.write(file1 + file_rest)

# Copy images into ${CUPID}/docs/_static/images/
for file in [
"config_1.png",
"config_2.png",
"config_3.png",
"config_4.png",
"config_5.png",
]:
os.system(f"cp ../images/{file} ../docs/_static/images/")

# -- Project information -----------------------------------------------------

project = "CUPiD"
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="_static/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="_static/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="_static/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="_static/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="_static/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 7b1ec07

Please sign in to comment.