Skip to content

Commit fa94348

Browse files
committed
Add some grid info
1 parent e887050 commit fa94348

2 files changed

Lines changed: 30 additions & 12 deletions

File tree

02-run.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ subtitle: Running MPAS on NSF NCAR Derecho
99

1010
Limited-area domain as in:
1111

12+
- https://doi.org/10.1029/2023MS004070
1213
- https://doi.org/10.1029/2024GL112341
1314
- https://doi.org/10.22541/essoar.174547926.68665522/v1
1415
- https://doi.org/10.22541/essoar.174547944.43729039/v1

03-viz.ipynb

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,35 @@
1313
},
1414
{
1515
"cell_type": "code",
16-
"execution_count": 1,
16+
"execution_count": null,
1717
"id": "478e135b-116c-41c1-8397-0880936dc908",
1818
"metadata": {},
19-
"outputs": [
20-
{
21-
"name": "stdout",
22-
"output_type": "stream",
23-
"text": [
24-
"yes\n"
25-
]
26-
}
27-
],
19+
"outputs": [],
20+
"source": []
21+
},
22+
{
23+
"cell_type": "markdown",
24+
"id": "06e6dfea-99c3-42dc-bc96-4c06da842ace",
25+
"metadata": {},
2826
"source": [
29-
"print(\"yes\")"
27+
"With unstructured-grid data, the grid/coordinate information is usually stored in a separate file from the model output fields. Considerably more information is needed to reconstruct the grid than in the case of a rectangular lat/lon grid, for example, which can be expressed with 1-D coordinate variables.\n",
28+
"\n",
29+
"With MPAS-A, the necessary grid variables are available in multiple files:\n",
30+
"\n",
31+
"* the **grid** file (usually ends in `.grid.nc`)\n",
32+
" - agnostic to simulation\n",
33+
" - note that with the standard limited-area workflow, which involves cutting out a section of a global grid, this can't be used\n",
34+
"* the **static** file (usually ends in `.static.nc`)\n",
35+
" - produced as part of the model initialization/prep preocess, contains static fields like terrain height\n",
36+
"* **initial conditions** (usually ends in `.init.nc`)\n",
37+
" - easier to work with since the connectivity for the primal mesh uses zeros for padding\n",
38+
" \n",
39+
"Some example grid and static files are available at: <https://mpas-dev.github.io/atmosphere/atmosphere_meshes.html>\n",
40+
"\n",
41+
"Or on Casper/Derecho at:\n",
42+
"```\n",
43+
"/glade/campaign/mmm/wmr/duda/mesh/\n",
44+
"```"
3045
]
3146
},
3247
{
@@ -90,7 +105,9 @@
90105
"source": [
91106
"# GeoVista\n",
92107
"\n",
93-
"Built on PyVista/VTK, [GeoVista](https://geovista.readthedocs.io/) provides GPU-accelerated interactive visualization of geospatial data and has [builtin support](https://geovista.readthedocs.io/en/v0.5.3/reference/generated/api/geovista/bridge/#geovista.bridge.Transform.from_unstructured) for unstructured meshes."
108+
"Built on PyVista/VTK, [GeoVista](https://geovista.readthedocs.io/) provides GPU-accelerated interactive visualization of geospatial data and has [builtin support](https://geovista.readthedocs.io/en/v0.5.3/reference/generated/api/geovista/bridge/#geovista.bridge.Transform.from_unstructured) for unstructured meshes.\n",
109+
"\n",
110+
"It will still work if a GPU is not available/detected, but it may be much slower to first plot and to respond."
94111
]
95112
},
96113
{

0 commit comments

Comments
 (0)