Small change to grids and cartopy notebook:

- made the two plotting sections (with pcolormesh and cartopy) subsections of the "Use the Grid Data!" section
This commit is contained in:
Shay Carter 2021-06-01 16:42:35 -06:00
parent f3241e2e7a
commit e3ad74cc0a

View file

@ -38,7 +38,7 @@
},
"source": [
"<h1>Table of Contents<span class=\"tocSkip\"></span></h1>\n",
"<div class=\"toc\"><ul class=\"toc-item\"><li><span><a href=\"#Imports\" data-toc-modified-id=\"Imports-1\"><span class=\"toc-item-num\">1&nbsp;&nbsp;</span>Imports</a></span></li><li><span><a href=\"#Define-Data-Request\" data-toc-modified-id=\"Define-Data-Request-2\"><span class=\"toc-item-num\">2&nbsp;&nbsp;</span>Define Data Request</a></span></li><li><span><a href=\"#Limit-Results-Based-on-Time\" data-toc-modified-id=\"Limit-Results-Based-on-Time-3\"><span class=\"toc-item-num\">3&nbsp;&nbsp;</span>Limit Results Based on Time</a></span></li><li><span><a href=\"#Function:-make_map()\" data-toc-modified-id=\"Function:-make_map()-4\"><span class=\"toc-item-num\">4&nbsp;&nbsp;</span>Function: make_map()</a></span></li><li><span><a href=\"#Use-the-Grid-Data!\" data-toc-modified-id=\"Use-the-Grid-Data!-5\"><span class=\"toc-item-num\">5&nbsp;&nbsp;</span>Use the Grid Data!</a></span></li><li><span><a href=\"#Plot-Using-pcolormesh\" data-toc-modified-id=\"Plot-Using-pcolormesh-6\"><span class=\"toc-item-num\">6&nbsp;&nbsp;</span>Plot Using pcolormesh</a></span></li><li><span><a href=\"#Plot-Using-contourf\" data-toc-modified-id=\"Plot-Using-contourf-7\"><span class=\"toc-item-num\">7&nbsp;&nbsp;</span>Plot Using contourf</a></span></li><li><span><a href=\"#See-Also\" data-toc-modified-id=\"See-Also-8\"><span class=\"toc-item-num\">8&nbsp;&nbsp;</span>See Also</a></span><ul class=\"toc-item\"><li><span><a href=\"#Related-Notebooks\" data-toc-modified-id=\"Related-Notebooks-8.1\"><span class=\"toc-item-num\">8.1&nbsp;&nbsp;</span>Related Notebooks</a></span></li><li><span><a href=\"#Additional-Documention\" data-toc-modified-id=\"Additional-Documention-8.2\"><span class=\"toc-item-num\">8.2&nbsp;&nbsp;</span>Additional Documention</a></span></li></ul></li></ul></div>"
"<div class=\"toc\"><ul class=\"toc-item\"><li><span><a href=\"#Imports\" data-toc-modified-id=\"Imports-1\"><span class=\"toc-item-num\">1&nbsp;&nbsp;</span>Imports</a></span></li><li><span><a href=\"#Define-Data-Request\" data-toc-modified-id=\"Define-Data-Request-2\"><span class=\"toc-item-num\">2&nbsp;&nbsp;</span>Define Data Request</a></span></li><li><span><a href=\"#Limit-Results-Based-on-Time\" data-toc-modified-id=\"Limit-Results-Based-on-Time-3\"><span class=\"toc-item-num\">3&nbsp;&nbsp;</span>Limit Results Based on Time</a></span></li><li><span><a href=\"#Function:-make_map()\" data-toc-modified-id=\"Function:-make_map()-4\"><span class=\"toc-item-num\">4&nbsp;&nbsp;</span>Function: make_map()</a></span></li><li><span><a href=\"#Use-the-Grid-Data!\" data-toc-modified-id=\"Use-the-Grid-Data!-5\"><span class=\"toc-item-num\">5&nbsp;&nbsp;</span>Use the Grid Data!</a></span><ul class=\"toc-item\"><li><span><a href=\"#Plot-Using-pcolormesh\" data-toc-modified-id=\"Plot-Using-pcolormesh-5.1\"><span class=\"toc-item-num\">5.1&nbsp;&nbsp;</span>Plot Using pcolormesh</a></span></li><li><span><a href=\"#Plot-Using-contourf\" data-toc-modified-id=\"Plot-Using-contourf-5.2\"><span class=\"toc-item-num\">5.2&nbsp;&nbsp;</span>Plot Using contourf</a></span></li></ul></li><li><span><a href=\"#See-Also\" data-toc-modified-id=\"See-Also-6\"><span class=\"toc-item-num\">6&nbsp;&nbsp;</span>See Also</a></span><ul class=\"toc-item\"><li><span><a href=\"#Related-Notebooks\" data-toc-modified-id=\"Related-Notebooks-6.1\"><span class=\"toc-item-num\">6.1&nbsp;&nbsp;</span>Related Notebooks</a></span></li><li><span><a href=\"#Additional-Documention\" data-toc-modified-id=\"Additional-Documention-6.2\"><span class=\"toc-item-num\">6.2&nbsp;&nbsp;</span>Additional Documention</a></span></li></ul></li></ul></div>"
]
},
{
@ -234,16 +234,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<a href=\"#top\">Top</a>\n",
"\n",
"---"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Plot Using pcolormesh\n",
"### Plot Using pcolormesh\n",
"\n",
"This example shows how to use [matplotlib.pyplot.pcolormesh](https://matplotlib.org/3.3.3/api/_as_gen/matplotlib.pyplot.pcolormesh.html) to create a colorized plot. We use our **make_map** function to create a subplot and then we create a color scale (cs) and colorbar (cbar) with a label for our plot."
]
@ -297,16 +288,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"<a href=\"#top\">Top</a>\n",
"\n",
"---"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Plot Using contourf\n",
"### Plot Using contourf\n",
"\n",
"This example shows how to use [matplotlib.pyplot.contourf](https://matplotlib.org/3.3.3/api/_as_gen/matplotlib.pyplot.contourf.html) to create a colorized plot. We use our **make_map** function to create a subplot and then we create a color scale (cs2) and colorbar (cbar2) with a label for our plot."
]