|
85 | 85 | "cell_type": "markdown", |
86 | 86 | "metadata": {}, |
87 | 87 | "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." |
89 | 99 | ] |
90 | 100 | }, |
91 | 101 | { |
|
109 | 119 | "cell_type": "markdown", |
110 | 120 | "metadata": {}, |
111 | 121 | "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." |
113 | 125 | ] |
114 | 126 | }, |
115 | 127 | { |
116 | 128 | "cell_type": "code", |
117 | 129 | "execution_count": null, |
118 | | - "metadata": { |
119 | | - "scrolled": false |
120 | | - }, |
| 130 | + "metadata": {}, |
121 | 131 | "outputs": [], |
122 | 132 | "source": [ |
123 | 133 | "ds.salt.isel(xi_rho=50, ocean_time=0).plot()" |
|
145 | 155 | "cell_type": "markdown", |
146 | 156 | "metadata": {}, |
147 | 157 | "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." |
149 | 161 | ] |
150 | 162 | }, |
151 | 163 | { |
|
192 | 204 | } |
193 | 205 | ], |
194 | 206 | "metadata": { |
| 207 | + "execution": { |
| 208 | + "timeout": 60 |
| 209 | + }, |
195 | 210 | "kernelspec": { |
196 | | - "display_name": "Python 3", |
| 211 | + "display_name": "Python 3 (ipykernel)", |
197 | 212 | "language": "python", |
198 | 213 | "name": "python3" |
199 | 214 | }, |
|
207 | 222 | "name": "python", |
208 | 223 | "nbconvert_exporter": "python", |
209 | 224 | "pygments_lexer": "ipython3", |
210 | | - "version": "3.6.7" |
| 225 | + "version": "3.14.6" |
211 | 226 | } |
212 | 227 | }, |
213 | 228 | "nbformat": 4, |
214 | | - "nbformat_minor": 2 |
| 229 | + "nbformat_minor": 4 |
215 | 230 | } |
0 commit comments