You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each `parcels.Field` is defined on a grid. With Parcels, we can simulate particles in fields on both structured (**`parcels.XGrid`**) and unstructured (**`parcels.UxGrid`**) grids. The grid is defined by the coordinates of grid cell nodes, edges, and faces. `parcels.XGrid` objects are based on [`xgcm.Grid`](https://xgcm.readthedocs.io/en/latest/grids.html), while `parcels.UxGrid` objects are based on [`uxarray.Grid`](https://uxarray.readthedocs.io/en/stable/generated/uxarray.Grid.html#uxarray.Grid) objects.
To find the value of a `parcels.Field` at any particle location, Parcels interpolates the gridded field. Depending on the variable, grid, and required accuracy, different interpolation methods may be appropriate. Parcels comes with a number of built-in **`parcels.interpolators`**.
```{admonition} 🖥️ Learn more about how to create ParticleSets
96
+
:class: seealso
94
97
- [Release particles at different times](../user_guide/examples/tutorial_delaystart.ipynb)
98
+
```
95
99
96
100
## 3. Kernels
97
101
@@ -148,16 +152,18 @@ Every Kernel must be a function with the following (and only those) arguments: `
148
152
We have to be careful with writing kernels for vector fields on Curvilinear grids. While Parcels automatically rotates the "U" and "V" field when necessary, this is not the case for other fields such as Stokes drift. [This guide](../user_guide/examples/tutorial_nemo_curvilinear.ipynb) describes how to use a curvilinear grid in Parcels.
- [Sample fields like temperature](../user_guide/examples/tutorial_sampling.ipynb).
158
163
- [Mimic the behaviour of ARGO floats](../user_guide/examples/tutorial_Argofloats.ipynb).
159
164
- [Add diffusion to approximate subgrid-scale processes and unresolved physics](../user_guide/examples/tutorial_diffusion.ipynb).
160
165
- [Convert between units in m/s and degrees](../user_guide/examples/tutorial_unitconverters.ipynb).
166
+
```
161
167
162
168
## 4. Execute
163
169
@@ -182,7 +188,8 @@ To analyse the particle data generated in the simulation, we need to define a `p
182
188
183
189
There are many ways to analyze particle output, and although we provide [a short tutorial to get started](./tutorial_output.ipynb), we recommend writing your own analysis code and checking out other projects such as [trajan](https://opendrift.github.io/trajan/index.html) and [Lagrangian Diagnostics](https://lagrangian-diags.readthedocs.io/en/latest/).
184
190
185
-
####Learn how to run a simulation
186
-
191
+
```{admonition} 🖥️ Learn how to run a simulation
192
+
:class: seealso
187
193
- [Choose an appropriate timestep and integrator](../user_guide/examples/tutorial_numerical_accuracy.ipynb)
188
194
- [Work with Parcels output](./tutorial_output.ipynb)
0 commit comments