Skip to content

Commit

Permalink
move nblibrary out of examples
Browse files Browse the repository at this point in the history
  • Loading branch information
TeaganKing committed Nov 21, 2024
1 parent d3d7971 commit c0dfc85
Show file tree
Hide file tree
Showing 31 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/addingnotebookstocollection.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Generally, a good fit for a diagnostic notebook is one that reads in CESM output
---
**If you want to run your notebook through the `CUPiD` workflow yourself, follow the rest of the instructions:**

4. Move your new diagnostic notebook to the folder called `examples/nblibrary`.
4. Move your new diagnostic notebook to the folder called `nblibrary`.

5. Open `config.yml`. First, add your new notebook (as its name, minus the `.ipynb`) to the list of notebooks that will be computed (`compute_notebooks`). The notebooks will be executed in the order they are listed here. For example:

Expand Down
2 changes: 1 addition & 1 deletion examples/coupled_model/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ data_sources:
### look for your template notebooks in. It doesn't have to
### be inside run_dir, or be specific to this project, as
### long as the notebooks are there
nb_path_root: ../nblibrary
nb_path_root: nblibrary

######################
# Computation Config #
Expand Down
2 changes: 1 addition & 1 deletion examples/external_diag_packages/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ data_sources:
### look for your template notebooks in. It doesn't have to
### be inside run_dir, or be specific to this project, as
### long as the notebooks are there
nb_path_root: ../nblibrary
nb_path_root: nblibrary

######################
# Computation Config #
Expand Down
2 changes: 1 addition & 1 deletion examples/key_metrics/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ data_sources:
### look for your template notebooks in. It doesn't have to
### be inside run_dir, or be specific to this project, as
### long as the notebooks are there
nb_path_root: ../nblibrary
nb_path_root: nblibrary

######################
# Computation Config #
Expand Down
2 changes: 1 addition & 1 deletion helper_scripts/generate_adf_config_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def generate_adf_config(cesm_root, cupid_example, adf_file, out_file):
valid_examples = [
example
for example in next(os.walk(cupid_examples))[1]
if example not in ["ilamb", "nblibrary"]
if example not in ["ilamb"]
]
if cupid_example not in valid_examples:
error_msg = f"argument --cupid-example: invalid choice '{cupid_example}'"
Expand Down
2 changes: 1 addition & 1 deletion helper_scripts/generate_cupid_config_for_cesm_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def generate_cupid_config(case_root, cesm_root, cupid_example):
valid_examples = [
example
for example in next(os.walk(cupid_examples))[1]
if example not in ["ilamb", "nblibrary"]
if example not in ["ilamb"]
]
if cupid_example not in valid_examples:
error_msg = f"argument --cupid-example: invalid choice '{cupid_example}'"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit c0dfc85

Please sign in to comment.