TEOS-10 / GSW-C

C implementation of the Thermodynamic Equation Of Seawater - 2010 (TEOS-10)
Other
18 stars 17 forks source link

add `gsw_t_from_pt0(SA,pt0,p)` #70

Open haakon-e opened 1 month ago

haakon-e commented 1 month ago

method description: https://www.teos-10.org/pubs/gsw/html/gsw_t_from_pt0.html

note: this is my first time (attempting to) edit a C library, so I don't yet know how to actually test this method.

ref: https://github.com/TEOS-10/GibbsSeaWater.jl/issues/33

efiring commented 1 month ago

Given that this function is just an existing function with one argument set to zero, I'm not inclined to add it to the C library. But I could be convinced otherwise. What is your rationale for adding it?