Skip to content

Commit a3702a4

Browse files
Update notebook with instructions
1 parent 15d02a5 commit a3702a4

File tree

1 file changed

+45
-5
lines changed

1 file changed

+45
-5
lines changed

notebooks_examples/LLC2160_metadata.ipynb

Lines changed: 45 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"id": "69a5db3a-5001-47f3-af5b-b37b7f113dbe",
6+
"metadata": {},
7+
"source": [
8+
"### Import Libraries"
9+
]
10+
},
311
{
412
"cell_type": "code",
513
"execution_count": 1,
@@ -15,6 +23,14 @@
1523
"import matplotlib.pyplot as plt"
1624
]
1725
},
26+
{
27+
"cell_type": "markdown",
28+
"id": "c6327257-1698-4200-839f-4127d227307b",
29+
"metadata": {},
30+
"source": [
31+
"### Extract Latitude and Longitude from the netcdf file"
32+
]
33+
},
1834
{
1935
"cell_type": "code",
2036
"execution_count": 2,
@@ -29,6 +45,14 @@
2945
"lon_center = ds[\"longitude\"].values"
3046
]
3147
},
48+
{
49+
"cell_type": "markdown",
50+
"id": "fefe5556-5499-49ac-8fcb-6825a5e867e7",
51+
"metadata": {},
52+
"source": [
53+
"### Set Variables"
54+
]
55+
},
3256
{
3357
"cell_type": "code",
3458
"execution_count": 3,
@@ -46,6 +70,14 @@
4670
"\n"
4771
]
4872
},
73+
{
74+
"cell_type": "markdown",
75+
"id": "0b2971f9-4137-4187-b743-eddac81b834c",
76+
"metadata": {},
77+
"source": [
78+
"### Use Array Index to extract Data and Lat/Lon"
79+
]
80+
},
4981
{
5082
"cell_type": "code",
5183
"execution_count": 4,
@@ -65,7 +97,7 @@
6597
},
6698
{
6799
"cell_type": "code",
68-
"execution_count": 7,
100+
"execution_count": 5,
69101
"id": "414e89cd-9670-415f-80d5-de34428a9638",
70102
"metadata": {
71103
"tags": []
@@ -79,7 +111,7 @@
79111
},
80112
{
81113
"cell_type": "code",
82-
"execution_count": 10,
114+
"execution_count": 6,
83115
"id": "522b05f3-571d-4c88-b034-2fb63241818b",
84116
"metadata": {
85117
"tags": []
@@ -109,9 +141,17 @@
109141
"plt.show()\n"
110142
]
111143
},
144+
{
145+
"cell_type": "markdown",
146+
"id": "28ccf8bd-ff2b-4186-a645-47c22b5e82d8",
147+
"metadata": {},
148+
"source": [
149+
"### Use Lat/Lon to extract corresponding data"
150+
]
151+
},
112152
{
113153
"cell_type": "code",
114-
"execution_count": 11,
154+
"execution_count": 7,
115155
"id": "27a4de06-8bce-4c8c-ab88-6e2381fa3471",
116156
"metadata": {
117157
"tags": []
@@ -146,7 +186,7 @@
146186
},
147187
{
148188
"cell_type": "code",
149-
"execution_count": 18,
189+
"execution_count": 8,
150190
"id": "2ad91959-a27d-455d-a23f-044ef767f41d",
151191
"metadata": {
152192
"tags": []
@@ -161,7 +201,7 @@
161201
},
162202
{
163203
"cell_type": "code",
164-
"execution_count": 19,
204+
"execution_count": 9,
165205
"id": "782f9b22-991f-4a7a-be0c-db9c70e1acb7",
166206
"metadata": {
167207
"tags": []

0 commit comments

Comments
 (0)