Skip to content

Commit 4560911

Browse files
committed
Patch ROMS_ocean_model.ipynb metadata
To extend execution time https://myst-nb.readthedocs.io/en/latest/computation/execute.html#execution-timeout
1 parent 1015463 commit 4560911

1 file changed

Lines changed: 24 additions & 9 deletions

File tree

doc/examples/ROMS_ocean_model.ipynb

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,17 @@
8585
"cell_type": "markdown",
8686
"metadata": {},
8787
"source": [
88-
"## Add a lazilly calculated vertical coordinates\n\nWrite equations to calculate the vertical coordinate. These will be only evaluated when data is requested. Information about the ROMS vertical coordinate can be found [here](https://www.myroms.org/wiki/Vertical_S-coordinate).\n\nIn short, for `Vtransform==2` as used in this example, \n\n$Z_0 = (h_c \\, S + h \\,C) / (h_c + h)$\n\n$z = Z_0 (\\zeta + h) + \\zeta$\n\nwhere the variables are defined as in the link above."
88+
"## Add a lazilly calculated vertical coordinates\n",
89+
"\n",
90+
"Write equations to calculate the vertical coordinate. These will be only evaluated when data is requested. Information about the ROMS vertical coordinate can be found [here](https://www.myroms.org/wiki/Vertical_S-coordinate).\n",
91+
"\n",
92+
"In short, for `Vtransform==2` as used in this example, \n",
93+
"\n",
94+
"$Z_0 = (h_c \\, S + h \\,C) / (h_c + h)$\n",
95+
"\n",
96+
"$z = Z_0 (\\zeta + h) + \\zeta$\n",
97+
"\n",
98+
"where the variables are defined as in the link above."
8999
]
90100
},
91101
{
@@ -109,15 +119,15 @@
109119
"cell_type": "markdown",
110120
"metadata": {},
111121
"source": [
112-
"## A naive vertical slice\n\nCreating a slice using the s-coordinate as the vertical dimension is typically not very informative."
122+
"## A naive vertical slice\n",
123+
"\n",
124+
"Creating a slice using the s-coordinate as the vertical dimension is typically not very informative."
113125
]
114126
},
115127
{
116128
"cell_type": "code",
117129
"execution_count": null,
118-
"metadata": {
119-
"scrolled": false
120-
},
130+
"metadata": {},
121131
"outputs": [],
122132
"source": [
123133
"ds.salt.isel(xi_rho=50, ocean_time=0).plot()"
@@ -145,7 +155,9 @@
145155
"cell_type": "markdown",
146156
"metadata": {},
147157
"source": [
148-
"## A plan view\n\nNow make a naive plan view, without any projection information, just using lon/lat as x/y. This looks OK, but will appear compressed because lon and lat do not have an aspect constrained by the projection."
158+
"## A plan view\n",
159+
"\n",
160+
"Now make a naive plan view, without any projection information, just using lon/lat as x/y. This looks OK, but will appear compressed because lon and lat do not have an aspect constrained by the projection."
149161
]
150162
},
151163
{
@@ -192,8 +204,11 @@
192204
}
193205
],
194206
"metadata": {
207+
"execution": {
208+
"timeout": 60
209+
},
195210
"kernelspec": {
196-
"display_name": "Python 3",
211+
"display_name": "Python 3 (ipykernel)",
197212
"language": "python",
198213
"name": "python3"
199214
},
@@ -207,9 +222,9 @@
207222
"name": "python",
208223
"nbconvert_exporter": "python",
209224
"pygments_lexer": "ipython3",
210-
"version": "3.6.7"
225+
"version": "3.14.6"
211226
}
212227
},
213228
"nbformat": 4,
214-
"nbformat_minor": 2
229+
"nbformat_minor": 4
215230
}

0 commit comments

Comments
 (0)