From 933ad6233db9950a69f4539007322e3389849ef7 Mon Sep 17 00:00:00 2001 From: Philip Chmielowiec Date: Sun, 10 Dec 2023 00:36:01 -0600 Subject: [PATCH] better markdown for rasterization --- notebooks/03-uxarray-vis/03-polygons.ipynb | 6 +++++- notebooks/03-uxarray-vis/04-points.ipynb | 12 +++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/notebooks/03-uxarray-vis/03-polygons.ipynb b/notebooks/03-uxarray-vis/03-polygons.ipynb index c107439b..85b6ce68 100644 --- a/notebooks/03-uxarray-vis/03-polygons.ipynb +++ b/notebooks/03-uxarray-vis/03-polygons.ipynb @@ -232,7 +232,11 @@ "source": [ "## Rasterized Polygon Plots\n", "\n", - "For larger datasets and for obtaining quicker visualizations, we can rasterize each polygon to obtain a Raster of our geometries.\n" + "Instead of plotting the geometry of each polygon directly, we can rasterize our set of polygons to obtain a raster plot.\n", + "\n", + ":::{remember}\n", + "A raster plot of any set of geometric elements (in this case Polygons) renders each data into a regularly shaped array as opposed to rendering each shape directly.\n", + ":::\n" ], "metadata": { "collapsed": false diff --git a/notebooks/03-uxarray-vis/04-points.ipynb b/notebooks/03-uxarray-vis/04-points.ipynb index 91ca7dc3..3a3ad456 100644 --- a/notebooks/03-uxarray-vis/04-points.ipynb +++ b/notebooks/03-uxarray-vis/04-points.ipynb @@ -11,7 +11,9 @@ { "cell_type": "markdown", "source": [ - "Since data variables are typically mapped to either nodes, edges, or faces, one can visualize these by using the data to shade the coordinate points of each element. \n" + "Since data variables are typically mapped to either nodes, edges, or faces, one can visualize these by using the data to shade the coordinate points of each element. \n", + "\n", + "This notebook showcases how to visualize data variables as points." ], "metadata": { "collapsed": false @@ -98,7 +100,7 @@ { "cell_type": "markdown", "source": [ - "We can plot each shaded data point using the latitude and longitude of either the nodes, edge centers, or face centers. Since \"bottomDepth\" is a face-centered variable, it is plotted with the node coordinates." + "We can plot each shaded data point using the latitude and longitude of either the nodes, edge centers, or face centers. Since ``bottomDepth`` is a face-centered variable, it is plotted using the node coordinates (i.e. ``node_lon`` and ``node_lat``)" ], "metadata": { "collapsed": false @@ -133,7 +135,11 @@ "source": [ "## Rasterized Point Plots\n", "\n", - "Instead of plotting each point, we can rasterize our set of points." + "Instead of plotting the geometry of each point directly, we can rasterize our set of points to obtain a raster plot.\n", + "\n", + ":::{remember}\n", + "A raster plot of any set of geometric elements (in this case Points) renders each data into a regularly shaped array as opposed to rendering each shape directly.\n", + ":::" ], "metadata": { "collapsed": false