{
"cells": [
{
"cell_type": "markdown",
"id": "08515bef-ae48-42ce-9a00-6850219e7a61",
"metadata": {},
"source": [
"\n",
"\n",
"# UXarray Grid\n",
"\n",
"### In this tutorial, you'll learn:\n",
"\n",
"* What is a UXarray `Grid`?\n",
"* How to load a `Grid`\n",
"* How to access `Grid` attributes\n",
"\n",
"### Related Documentation\n",
"\n",
"* [UXarray Data Structures Documentation](https://uxarray.readthedocs.io/en/latest/user-guide/data-structures.html)\n",
"\n",
"### Prerequisites\n",
"\n",
"| Concepts | Importance | Notes |\n",
"| --- | --- | --- |\n",
"| Unstructured Grids | Necessary | |\n",
"| Python programming | Necessary | |\n",
"| [Introduction to Xarray](https://foundations.projectpythia.org/core/xarray/xarray-intro) | Helpful | |\n",
"\n",
"**Time to learn**: 10 minutes\n",
"\n",
"-----\n",
"\n"
]
},
{
"cell_type": "markdown",
"id": "01a6f9ae-5f4d-4465-8382-774940052bb6",
"metadata": {},
"source": [
"## Overview"
]
},
{
"cell_type": "markdown",
"id": "a2041dc5-06c0-4cae-bbfb-4f62bfb3b7ab",
"metadata": {},
"source": "In the previous section, we briefly introduced the ``Grid`` class, which stores unstructured grid variables such as coordinates and connectivity. This class is the foundation of UXarray, which ensures awareness of the unstructured grid topology between operations. Exploring the grid geometry can be helpful throughout analysis and visualization workflows. \n"
},
{
"cell_type": "markdown",
"id": "aa1771c8-d5b9-4eb2-8cc5-961c214a7625",
"metadata": {},
"source": [
"
Note:
\n", " In most cases, checking the ``Grid`` object of either ``UxDataset`` or ``UxDataArray`` is anticipated be the common scenario since majority of the UXarray workflows will rely on a data set and its variable(s) of interest. Such cases will be showcased as part of many of the following notebooks; thus, this tutorial will focus on the latter where we explore a standalone ``Grid`` object.\n", "