Skip to content

Commit

Permalink
Merge pull request #958 from PCMDI/lee1043-patch-1
Browse files Browse the repository at this point in the history
MoV demo clean up
  • Loading branch information
lee1043 authored Jul 3, 2023
2 parents c0a2f8a + 312b2d3 commit 6ba43d7
Showing 1 changed file with 1 addition and 43 deletions.
44 changes: 1 addition & 43 deletions doc/jupyter/Demo/Demo_4_modes_of_variability.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1831,48 +1831,6 @@
"fig.tight_layout()"
]
},
{
"cell_type": "code",
"execution_count": 31,
"id": "8d5e9f34-dc16-4ee3-8223-fe6f62da38d4",
"metadata": {},
"outputs": [
{
"ename": "type",
"evalue": "name 'cdms2' is not defined",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[0;32mIn[31], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m fo3 \u001b[38;5;241m=\u001b[39m \u001b[43mcdms2\u001b[49m\u001b[38;5;241m.\u001b[39mopen(demo_output_directory \u001b[38;5;241m+\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m/PDO/PDO_ts_EOF1_monthly_cmip5_ACCESS1-0_historical_r1i1p1_mo_atm_1900-2005_cbf.nc\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n",
"\u001b[0;31mNameError\u001b[0m: name 'cdms2' is not defined"
]
}
],
"source": [
"fo3 = cdms2.open(demo_output_directory + \"/PDO/PDO_ts_EOF1_monthly_cmip5_ACCESS1-0_historical_r1i1p1_mo_atm_1900-2005_cbf.nc\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "9356bf5f-f86b-472e-9b46-d7f7413d601d",
"metadata": {},
"outputs": [],
"source": [
"d = fo3('eof')"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "43c5517d-4750-4e9e-8426-87c4a42b6fda",
"metadata": {},
"outputs": [],
"source": [
"quickplot(d)"
]
},
{
"cell_type": "markdown",
"id": "7927e481-4367-4260-86fa-3855a357974c",
Expand Down Expand Up @@ -2291,7 +2249,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
"version": "3.9.7"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 6ba43d7

Please sign in to comment.