Skip to content

Commit

Permalink
review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
VeckoTheGecko committed Dec 5, 2024
1 parent 62f25be commit 4dece3d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/examples/tutorial_peninsula_AvsCgrid.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"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."
"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."
]
},
{
Expand All @@ -36,7 +36,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"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."
"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."
]
},
{
Expand Down Expand Up @@ -230,7 +230,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"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."
"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."
]
},
{
Expand Down Expand Up @@ -291,7 +291,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"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."
"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."
]
},
{
Expand Down Expand Up @@ -410,7 +410,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "parcels",
"display_name": "parcels-dev",
"language": "python",
"name": "python3"
},
Expand All @@ -424,7 +424,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.3"
"version": "3.10.15"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 4dece3d

Please sign in to comment.