Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

formatting tweaks; augmented model info; augmented debugging e.g. #1028

Merged
merged 3 commits into from
Jan 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 46 additions & 20 deletions doc/jupyter/Demo/Demo_9_seaIceExtent_ivanova.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,30 @@
"id": "acb8d42e",
"metadata": {},
"source": [
"# PCMDI Metrics Package Sea Ice Demo"
"# PCMDI Metrics Package Sea Ice Demo\n",
"\n",
"<div style=\"text-align: right\">\n",
"<p>\n",
" <img src=\"https://pcmdi.github.io/assets/PCMDI/100px-PCMDI-Logo-NoText-square-png8.png\"\n",
" width=\"65\"\n",
" style=\"margin-right: 30px\"\n",
" title=\"Program for Climate Model Diagnosis and Intercomparison\"\n",
" alt=\"Program for Climate Model Diagnosis and Intercomparison\"\n",
" >&nbsp;\n",
" <img src=\"https://pcmdi.github.io/assets/DOE/480px-DOE_Seal_Color.png\"\n",
" width=\"65\"\n",
" style=\"margin-right: 30px\"\n",
" title=\"United States Department of Energy\"\n",
" alt=\"United States Department of Energy\"\n",
" >&nbsp;\n",
" <img src=\"https://pcmdi.github.io/assets/LLNL/212px-LLNLiconPMS286-WHITEBACKGROUND.png\"\n",
" width=\"65\"\n",
" style=\"margin-right: 30px\"\n",
" title=\"Lawrence Livermore National Laboratory\"\n",
" alt=\"Lawrence Livermore National Laboratory\"\n",
" >\n",
"</p>\n",
"</div>"
]
},
{
Expand All @@ -20,7 +43,10 @@
"Ana Ordonez, Jiwoo Lee, Paul Durack, Peter Gleckler (PCMDI, Lawrence Livermore National Laboratory)\n",
"\n",
"**Reference** \n",
"Ivanova, D. P., P. J. Gleckler, K. E. Taylor, P. J. Durack, and K. D. Marvel, 2016: Moving beyond the Total Sea Ice Extent in Gauging Model Biases. J. Climate, 29, 8965–8987, https://doi.org/10.1175/JCLI-D-16-0026.1. "
"Ivanova, D. P., P. J. Gleckler, K. E. Taylor, P. J. Durack, and K. D. Marvel, 2016: Moving beyond the Total Sea Ice Extent in Gauging Model Biases. J. Climate, 29, 8965–8987, https://doi.org/10.1175/JCLI-D-16-0026.1. \n",
"\n",
"**NOTE** \n",
"The installation instruction for the PMP can be found [here](http://pcmdi.github.io/pcmdi_metrics/install.html)."
]
},
{
Expand Down Expand Up @@ -201,7 +227,7 @@
"id": "404ed8d1",
"metadata": {},
"source": [
"# Introducing the PCMDI Metrics Package (PMP) parameter file"
"## Introducing the PCMDI Metrics Package (PMP) parameter file"
]
},
{
Expand Down Expand Up @@ -296,7 +322,7 @@
"id": "dc0d0eeb",
"metadata": {},
"source": [
"# Introducing the PMP driver file"
"## Introducing the PMP driver file"
]
},
{
Expand Down Expand Up @@ -424,7 +450,7 @@
"id": "9bfa9c97",
"metadata": {},
"source": [
"# Running the PMP sea ice demo\n",
"## Running the PMP sea ice demo\n",
"The PMP drivers are run on the command line. In this Jupyter Notebook, we use the bash cell magic function %%bash to run command line functions from the notebook.\n",
"\n",
"The PMP sea ice metrics driver call follows the basic format:\n",
Expand Down Expand Up @@ -1092,7 +1118,7 @@
"id": "499d3935",
"metadata": {},
"source": [
"# Working with multiple models"
"## Working with multiple models"
]
},
{
Expand Down Expand Up @@ -2694,7 +2720,7 @@
"id": "f48b3856",
"metadata": {},
"source": [
"Now the resulting bar chart shows three different models with their spread."
"Now the resulting bar chart shows three different models with their multiple realization spread."
]
},
{
Expand All @@ -2721,7 +2747,7 @@
"id": "bc43281a",
"metadata": {},
"source": [
"# Further exploration"
"## Further exploration"
]
},
{
Expand All @@ -2731,7 +2757,7 @@
"source": [
"Maybe you want to compare more models, or take a closer look at the model data? Here are links to the data for further exploration.\n",
"\n",
"As a reminder, data for nine models is available here:\n",
"As a reminder, data for nine CMIP6 models (ACCESS-CM2, ACCESS-ESM1-5, CanESM5, CAS-ESM2-0, E3SM-1-0, E3SM-2-0, GFDL-ESM4, MIROC6, with 30 realizations in total across the model suite) is available here:\n",
"```\n",
"/p/user_pub/pmp/demo/sea-ice/links_siconc\n",
"/p/user_pub/pmp/demo/sea-ice/links_area\n",
Expand All @@ -2747,36 +2773,36 @@
"```\n",
"sea_ice_sector_plots.py\n",
"sea_ice_line_plots.py\n",
"```\n"
"```"
]
},
{
"cell_type": "markdown",
"id": "f1161f29",
"metadata": {},
"source": [
"# Debugging the LLNL Nimbus binder environment"
"## Debugging the LLNL Nimbus binder environment"
]
},
{
"cell_type": "markdown",
"id": "fc4b0ab9",
"metadata": {},
"source": [
"For CAMAS workshop users, if you hit an issue at login `User $id already has a running server`.\n",
"For CAMAS workshop users, if you hit an issue at login\n",
"\n",
"```\n",
"Launching server...\n",
"Launch attempt 1 failed, retrying...\n",
"Launch attempt 2 failed, retrying...\n",
"Launch attempt 3 failed, retrying...\n",
"User $id already has a running server.\n",
"```\n",
"\n",
"The fix is to login (using your GitHub credentials) using [https://binder-nimbus.llnl.gov/hub/home](https://binder-nimbus.llnl.gov/hub/home) and select \"Stop My Server\".\n",
"\n",
"Once you refresh the start page ([https://binder-nimbus.llnl.gov](https://binder-nimbus.llnl.gov)), login and start again, it should work as expected"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "88955af5",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
Loading