|
11 | 11 | "cell_type": "markdown", |
12 | 12 | "metadata": {}, |
13 | 13 | "source": [ |
14 | | - "The notebook below shows how sensitive trajectories are to the combination of grid and velocity interpolation schemes. We will use the Peninsula example (also discussed in the [Quickstart to Parcels tutorial](https://docs.oceanparcels.org/en/latest/examples/parcels_tutorial.html#Sampling-a-Field-with-Particles)), but carefully compare how trajectories on the [A-grid and C-grid](https://docs.oceanparcels.org/en/latest/examples/documentation_indexing.html) version of this flow differ. To enhance the differences, we deliberately use a very course-resolution grid." |
| 14 | + "The notebook below shows how sensitive trajectories are to the combination of grid and velocity interpolation schemes. We will use the Peninsula example (also discussed in the [Quickstart to Parcels tutorial](https://docs.oceanparcels.org/en/latest/examples/parcels_tutorial.html#Sampling-a-Field-with-Particles)), and carefully compare how trajectories on the [A-grid and C-grid](https://docs.oceanparcels.org/en/latest/examples/documentation_indexing.html) version of this flow differ. To enhance the differences, we deliberately use a very coarse-resolution grid." |
15 | 15 | ] |
16 | 16 | }, |
17 | 17 | { |
|
36 | 36 | "cell_type": "markdown", |
37 | 37 | "metadata": {}, |
38 | 38 | "source": [ |
39 | | - "We start with defining the `FieldSet` for the Peninsula flow and the grid. Note that on the A-grid we can directly calculate the velocities on the grid pints from the streamfunction `P`. On the C-grid, we need to differentiate the streamfunction `P` to get the velocities on the staggered `U` and `V` grid points." |
| 39 | + "We start with defining the `FieldSet` for the Peninsula flow and the grid. Note that on the A-grid we can directly calculate the velocities on the grid points from the streamfunction `P`. On the C-grid, we need to differentiate the streamfunction `P` to get the velocities on the staggered `U` and `V` grid points." |
40 | 40 | ] |
41 | 41 | }, |
42 | 42 | { |
|
230 | 230 | "cell_type": "markdown", |
231 | 231 | "metadata": {}, |
232 | 232 | "source": [ |
233 | | - "Then, we finally plot the trajectories for all six experiments. We see that the trajectories are very sensitive to the combination of grid and velocity interpolation scheme. Note for example that using `cgrid_velocity` interpolation on an A-grid (fifth panel) leads to particles getting grounded on the land, which is not physical." |
| 233 | + "Finally, we plot the trajectories for all six experiments. We see that the trajectories are very sensitive to the combination of grid and velocity interpolation scheme. Note for example that using `cgrid_velocity` interpolation on an A-grid (fifth panel) leads to particles getting grounded on the land, which is not physical." |
234 | 234 | ] |
235 | 235 | }, |
236 | 236 | { |
|
291 | 291 | "cell_type": "markdown", |
292 | 292 | "metadata": {}, |
293 | 293 | "source": [ |
294 | | - "Because we know that Particles have to follow lines of constant streamfunction, we can also plot the streamlines of the flow field. When we overlay the \"Agrid & linear interpolation\" and \"Cgrid & cgrid interpolation\" trajectories onto these streamlines, we see that they are subtly different." |
| 294 | + "Because we know that particles must follow lines of constant streamfunction, we can also plot the streamlines of the flow field. When we overlay the \"Agrid & linear interpolation\" and \"Cgrid & cgrid interpolation\" trajectories onto these streamlines, we see that they are subtly different." |
295 | 295 | ] |
296 | 296 | }, |
297 | 297 | { |
|
410 | 410 | ], |
411 | 411 | "metadata": { |
412 | 412 | "kernelspec": { |
413 | | - "display_name": "parcels", |
| 413 | + "display_name": "parcels-dev", |
414 | 414 | "language": "python", |
415 | 415 | "name": "python3" |
416 | 416 | }, |
|
424 | 424 | "name": "python", |
425 | 425 | "nbconvert_exporter": "python", |
426 | 426 | "pygments_lexer": "ipython3", |
427 | | - "version": "3.12.3" |
| 427 | + "version": "3.10.15" |
428 | 428 | } |
429 | 429 | }, |
430 | 430 | "nbformat": 4, |
|
0 commit comments