|
| 1 | +--- |
| 2 | +title: 'PolyTEOS10_bsq Kernel Bug Identified' |
| 3 | +date: '2025-08-05' |
| 4 | +authors: |
| 5 | + - name: Michael Denes |
| 6 | + github: michaeldenes |
| 7 | +summary: 'An issue with the `PolyTEOS10_bsq` kernel has been identified, where incorrect values of seawater density were being computed. In this post, we explain the issue and how it may impact your simulations.' |
| 8 | +--- |
| 9 | + |
| 10 | +**Update to `PolyTEOS10_bsq` kernel** |
| 11 | + |
| 12 | +In recent days we’ve come across a bug in an application kernel of `parcels`. The `PolyTEOS10_bsq` kernel is used to calculate the density of seawater from the temperature and salinity fields. The kernel is based on equation (13) from |
| 13 | +[Roquet et al. (2014)](https://doi.org/10.1016/j.ocemod.2015.04.002) where the density $\rho$ is determined from the summation of a vertical reference profile $r_0$ and a residual function or density anomaly $r$. That is, $\rho(S,T,z) = r_0(z) + r(S,T,z)$. |
| 14 | + |
| 15 | + |
| 16 | +Up until now the kernel only computed the density anomaly, and was missing the vertical reference profile. At the ocean surface this isn’t a problem, as $r_0(z=0) = 0$ and so the computed density was correct. However, $r_0(z)>0$ below the ocean surface, and at relatively deep depths, this value can be significant. For example, at 100 m depth this value is 0.46443 kg/m$^3$ and at 500 m depth this value is 2.31175 kg/m$^3$, see the figure below. |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | +By using the old kernel implementation, the seawater density at depths below the ocean surface were being underestimated, as the actual seawater density would have otherwise been denser. Simulations that computed vertical velocities (such as sinking/rise velocities) using density differences between a particle and its surrounding seawater may be impacted. |
| 21 | + |
| 22 | +Below we’ve compiled a list of several papers that may be impacted, but we urge the community to check their own projects for use of this kernel at depth. This list may be updated as we become aware of other potentially impacted papers. |
| 23 | + |
| 24 | +**Impacted papers** |
| 25 | + |
| 26 | +[Global mass of buoyant marine plastics dominated by large long-lived debris, *Nature Geoscience* (2023)](https://doi.org/10.1038/s41561-023-01216-0) |
| 27 | +[Modeling carbon export mediated by biofouled microplastics in the Mediterranean Sea, *Limnology and Oceanography* (2023)](https://doi.org/10.1002/lno.12330) |
| 28 | +[Modelling submerged biofouled microplastics and their vertical trajectories, *Biogeosciences* (2022)](https://doi.org/10.5194/bg-19-2211-2022) |
| 29 | +[Influence of Particle Size and Fragmentation on Large-Scale Microplastic Transport in the Mediterranean Sea, *Environmental Science & Technology* (2022)](https://doi.org/10.1021/acs.est.2c03363) |
| 30 | +[Global Modeled Sinking Characteristics of Biofouled Microplastic, *JGR Oceans* (2021)](https://doi.org/10.1029/2020JC017098) |
0 commit comments