Skip to content

Commit ddc3d49

Browse files
Moving note to end of list because halfway list breaks the html
1 parent 6d027fa commit ddc3d49

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

docs/examples/tutorial_parcels_structure.ipynb

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -306,11 +306,6 @@
306306
" ```python\n",
307307
" value = fieldset.U[particle]\n",
308308
" ```\n",
309-
" <div class=\"alert alert-info\">\n",
310-
"\n",
311-
" Note that the second version here (`value = fieldset.U[particle]`) is not only a short-hand notation for the first; it is actually a _faster_ way to interpolate the field at the particle location in Scipy mode, as described in [this section of the JIT-vs-Scipy tutorial](https://docs.oceanparcels.org/en/latest/examples/tutorial_jit_vs_scipy.html#Further-digging-into-Scipy-mode:-adding-particle-keyword-to-Field-sampling).\n",
312-
" \n",
313-
" </div>\n",
314309
" \n",
315310
" - Functions from the maths standard library.\n",
316311
" \n",
@@ -326,7 +321,13 @@
326321
" \n",
327322
" - It is advised _not_ to update the particle location (`particle.lon`, `particle.lat`, `particle.depth`, and/or `particle.time`) directly, as that can negatively interfere with the way that particle movements by different kernels are vectorially added. Use `particle_dlon`, `particle_dlat`, `particle_ddepth`, and/or `particle_dtime` instead. See also the [kernel loop tutorial](https://docs.oceanparcels.org/en/latest/examples/tutorial_kernelloop.html).\n",
328323
" \n",
329-
" - Note that one has 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 for example wind data. In that case, a custom rotation function will have to be written.\n"
324+
" - Note that one has 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 for example wind data. In that case, a custom rotation function will have to be written.\n",
325+
"\n",
326+
" <div class=\"alert alert-info\">\n",
327+
"\n",
328+
" Note that for the interpolation of a `Field`, the second option (`value = fieldset.U[particle]`) is not only a short-hand notation for the (`value = fieldset.U[time, particle.depth, particle.lat, particle.lon]`); it is actually a _faster_ way to interpolate the field at the particle location in Scipy mode, as described in [this section of the JIT-vs-Scipy tutorial](https://docs.oceanparcels.org/en/latest/examples/tutorial_jit_vs_scipy.html#Further-digging-into-Scipy-mode:-adding-particle-keyword-to-Field-sampling).\n",
329+
" \n",
330+
" </div>"
330331
]
331332
},
332333
{

0 commit comments

Comments
 (0)