Skip to content

Commit

Permalink
Merge pull request #202 from cecilehannay/main
Browse files Browse the repository at this point in the history
Various changes in basics including updating figures in a more general way (independant of the machine)
  • Loading branch information
cecilehannay authored Jun 28, 2024
2 parents c996fa6 + 21e0d91 commit bf8fec2
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 5 deletions.
Binary file modified images/basics/CESM2_Workspaces_Detail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 12 additions & 2 deletions notebooks/basics/cesm_workspaces.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,24 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"id": "6b1d1b2e-9c93-4e47-8f4d-d51b96cdab7b",
"metadata": {},
"source": [
"## Workspace Overview\n",
"\n",
"![CESM workspace](../../images/basics/CESM2_Workspaces_Detail.png)\n",
"*<p style=\"text-align: center;\"> Figure: Overview of the CESM2 Workspace Paths </p>*"
"*<p style=\"text-align: center;\"> Figure: Overview of the CESM2 Workspace Directories </p>*\n",
"\n",
"For the current tutorial on derecho, the paths are:\n",
"- `$SRCROOT` = `/glade/work/$USER/code/my_cesm_code`\n",
"- `$DIN_LOC_ROOT`` = `/glade/campaign/cesm/cesmdata/cseg/inputdata`\n",
"- `$CASEROOT` = `/glade/work/$USER/cases/$CASE`\n",
"-`$CIME_OUTPUT_ROOT` = `/glade/derecho/scratch/$USER`\n",
"- `$EXEROOT` =`/glade/derecho/scratch/$USER/$CASE/bld` \n",
"- `$RUNDIR` =`/glade/derecho/scratch/$USER/$CASE/run` \n",
"- `$DOUT_S_ROOT` =`/glade/derecho/scratch/$USER/archive/$CASE` \n"
]
},
{
Expand Down Expand Up @@ -148,7 +158,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.12"
"version": "3.10.13"
}
},
"nbformat": 4,
Expand Down
12 changes: 9 additions & 3 deletions notebooks/basics/exercises/examine_history_B1850.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@
"\n",
"```\n",
"module list\n",
"```\n",
"\n",
"If you don't see `ncview` in the list of modules, you can load it by doing:\n",
"\n",
"```\n",
"module load ncview\n",
"```"
]
},
Expand Down Expand Up @@ -155,18 +161,18 @@
"<div class=\"alert alert-info\">\n",
"<strong>Select the Surface Temperature Variable: </strong><br><br>\n",
"\n",
"Click on the \"(244) 2d vars\" button shown above. This will pull up a list of all 2d vars on the b.day1.0 January 0001 CAM history file. This is a long list but it is in alphabetical order. You are looking for the TS variable. \n",
"Click on the **(244) 2d vars** button shown above. This will pull up a list of all 2d vars on the b.day1.0 January 0001 CAM history file. This is a long list but it is in alphabetical order. You are looking for the `TS` variable. \n",
"<br>\n",
"\n",
"<strong>Change the color selection from detail to bright: </strong><br>\n",
"\n",
"Click on the color button marked with \"detail\". This will change the color selection to \"3gauss\". Clicking again will change this to \"ssec\" and finally \"bright\".\n",
"Click on the color button marked with **detail**. This will change the color selection to **3gauss**. Clicking again will change this to **ssec** and finally **bright**.\n",
" \n",
"<br>\n",
" \n",
"<strong>Increase the map plot size: </strong><br>\n",
"\n",
"Click on the magnify button marked with \"M X3\". This will change the magnification to \"M X4\". Clicking again will change this to \"M X5\" and finally \"M X6\"\n",
"Click on the magnify button marked with **M X3**. This will change the magnification to \"M X4\". Clicking again will change this to \"M X5\" and finally \"M X6\"\n",
" \n",
"</div>\n",
"\n",
Expand Down

0 comments on commit bf8fec2

Please sign in to comment.