Skip to content

Commit

Permalink
Merge pull request #204 from cecilehannay/main
Browse files Browse the repository at this point in the history
Working on xml changes: fixing figures and paths and some other minor changes
  • Loading branch information
cecilehannay authored Jun 28, 2024
2 parents f7d96b2 + ef473eb commit 330ff68
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 9 deletions.
Binary file modified images/modifications/CESM2_xml_files.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion notebooks/basics/cesm_workflow/case_build.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"source": [
"<div class=\"alert alert-info\">\n",
"\n",
"<strong>You should still be in the `CASEROOT` directory after running `case.setup`\n",
"You should still be in the `CASEROOT` directory after running `case.setup`\n",
"```\n",
"cd /glade/work/$USER/cases/CASE\n",
"```\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/basics/cesm_workflow/case_setup.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"source": [
"<div class=\"alert alert-info\">\n",
"\n",
"<strong>Go to the `$CASEROOT` directory\n",
"<strong>Go to the `$CASEROOT` directory </strong>\n",
"```\n",
"cd /glade/work/$USER/cases/CASE\n",
"```\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/basics/cesm_workflow/case_submit.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"source": [
"<div class=\"alert alert-info\">\n",
"\n",
"<strong>You should still be in the `CASEROOT` directory after running `case.build`\n",
"You should still be in the `CASEROOT` directory after running `case.build`\n",
"```\n",
"cd /glade/work/$USER/cases/CASE\n",
"```\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/basics/cesm_workflow/create_clone.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"source": [
"<div class=\"alert alert-info\">\n",
"\n",
"<strong>Go to the `cime/scripts` directory in the CESM code\n",
"<strong>Go to the `cime/scripts` directory in the CESM code</strong>\n",
"```\n",
"cd /glade/work/$USER/code/my_cesm_code/cime/scripts/\n",
"```\n",
Expand Down
7 changes: 4 additions & 3 deletions notebooks/modifications/xml/model_control_files.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@
" <img src=\"https://freesvg.org/img/bulb_on.png\" width=\"20px\">\n",
" <font face=\"Times New Roman\" color='blue' size=\"4\">Tips!</font>\n",
" </summary>\n",
" \n",
"When using xmlchange to modify multiple environment variables, use comma (and no space!) in between variables.<br> \n",
"You can always find help by typing `./xmlchange --help`\n",
"You can always find help by typing ``./xmlchange --help``\n",
" \n",
"</div>"
]
Expand All @@ -83,7 +84,7 @@
"<div class=\"alert alert-warning\"> \n",
"<details> \n",
"\n",
"<summary><font face=\"Times New Roman\" color='blue' size=\"4\">Click here for example output of `./xmlchange --help` </font></summary><br>\n",
"<summary><font face=\"Times New Roman\" color='blue' size=\"4\">Click here for example output of ``./xmlchange --help`` </font></summary><br>\n",
"\n",
"```\n",
"./xmlchange --help\n",
Expand Down Expand Up @@ -426,7 +427,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.12"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
6 changes: 4 additions & 2 deletions notebooks/modifications/xml/overview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@
"## XML file locations\n",
"\n",
"![CESM xml files](../../../images/modifications/CESM2_xml_files.png)\n",
"*<p style=\"text-align: center;\"> Figure: Overview of the XML file locations </p>*"
"*<p style=\"text-align: center;\"> Figure: Overview of the XML file locations </p>*\n",
"For the current tutorial on derecho, the paths are:\n",
"- `$CASEROOT` = `/glade/work/$USER/cases/$CASE`"
]
},
{
Expand Down Expand Up @@ -122,7 +124,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.12"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 330ff68

Please sign in to comment.