|
143 | 143 | { |
144 | 144 | "cell_type": "code", |
145 | 145 | "execution_count": null, |
146 | | - "metadata": {}, |
| 146 | + "metadata": { |
| 147 | + "tags": [ |
| 148 | + "hide-output" |
| 149 | + ] |
| 150 | + }, |
147 | 151 | "outputs": [], |
148 | 152 | "source": [ |
149 | 153 | "pset = parcels.ParticleSet(\n", |
|
157 | 161 | " runtime=timedelta(hours=30),\n", |
158 | 162 | " dt=timedelta(minutes=5),\n", |
159 | 163 | " output_file=output_file,\n", |
160 | | - " verbose_progress=False,\n", |
161 | 164 | ")" |
162 | 165 | ] |
163 | 166 | }, |
|
207 | 210 | { |
208 | 211 | "cell_type": "code", |
209 | 212 | "execution_count": null, |
210 | | - "metadata": {}, |
| 213 | + "metadata": { |
| 214 | + "tags": [ |
| 215 | + "hide-output" |
| 216 | + ] |
| 217 | + }, |
211 | 218 | "outputs": [], |
212 | 219 | "source": [ |
213 | 220 | "def SampleVel_wrong(particles, fieldset):\n", |
|
222 | 229 | " SampleVel_wrong,\n", |
223 | 230 | " runtime=timedelta(hours=30),\n", |
224 | 231 | " dt=timedelta(minutes=5),\n", |
225 | | - " verbose_progress=False,\n", |
226 | 232 | ")" |
227 | 233 | ] |
228 | 234 | }, |
|
237 | 243 | { |
238 | 244 | "cell_type": "code", |
239 | 245 | "execution_count": null, |
240 | | - "metadata": {}, |
| 246 | + "metadata": { |
| 247 | + "tags": [ |
| 248 | + "hide-output" |
| 249 | + ] |
| 250 | + }, |
241 | 251 | "outputs": [], |
242 | 252 | "source": [ |
243 | 253 | "def SampleVel_correct(particles, fieldset):\n", |
|
252 | 262 | " SampleVel_correct,\n", |
253 | 263 | " runtime=timedelta(hours=30),\n", |
254 | 264 | " dt=timedelta(minutes=5),\n", |
255 | | - " verbose_progress=False,\n", |
256 | 265 | ")" |
257 | 266 | ] |
258 | 267 | }, |
|
331 | 340 | { |
332 | 341 | "cell_type": "code", |
333 | 342 | "execution_count": null, |
334 | | - "metadata": {}, |
| 343 | + "metadata": { |
| 344 | + "tags": [ |
| 345 | + "hide-output" |
| 346 | + ] |
| 347 | + }, |
335 | 348 | "outputs": [], |
336 | 349 | "source": [ |
337 | 350 | "output_file = parcels.ParticleFile(\"writeonce.zarr\", outputdt=timedelta(hours=1))\n", |
|
341 | 354 | " runtime=timedelta(hours=24),\n", |
342 | 355 | " dt=timedelta(minutes=5),\n", |
343 | 356 | " output_file=output_file,\n", |
344 | | - " verbose_progress=False,\n", |
345 | 357 | ")" |
346 | 358 | ] |
347 | 359 | }, |
|
358 | 370 | "metadata": {}, |
359 | 371 | "outputs": [], |
360 | 372 | "source": [ |
361 | | - "ds_particles_once = xr.open_zarr(\"writeonce.zarr\", decode_times=False)\n", |
| 373 | + "ds_particles_once = xr.open_zarr(\"writeonce.zarr\")\n", |
362 | 374 | "\n", |
363 | 375 | "plt.figure()\n", |
364 | 376 | "ax = plt.axes()\n", |
|
0 commit comments