Skip to content

Create example Kernel using gsw package for equation of state calculation #2126

@erikvansebille

Description

@erikvansebille

Now that v4 supports calling python-functions and libraries in the Kernel, one good use case would be to use the gsw package from https://teos-10.github.io/GSW-Python/ or https://github.com/jarethholt/polyTEOS10 for calculations involving the Equation of State of seawater (e.g. density from temperature, salinity and pressure), and do this directly in a Kernel.

This would then mean that we can remove the kernels in TEOSseawaterdensity.py and EOSseawaterproperties.py

Metadata

Metadata

Labels

coding/Pythonfeaturehackathon2025Good issues for the hackathon at the Parcels anniversary event in 2025.oceanographyIssues that require knowledge of oceanography to completev4

Type

No type

Projects

Status

Done

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions