TEOS-10 / GSW-C

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

Add gsw infunnel #60

Closed ocefpaf closed 5 months ago

ocefpaf commented 1 year ago

This PR adds the infunnel function ported from the Matlab version.

ocefpaf commented 6 months ago

@efiring I tested using some random values and comparing against the Matlab version. Seems to work but I'm not a c programmer, in fact I never tried anything in C until this function. I believe the actual function is OK but the tests are definitely kind of strange when compared with the rest of the tests in there.

I'd love to get this into both R and Python wrappers though. Let me know what you think.

ocefpaf commented 5 months ago

Minor changes.

@efiring let me know if there is anything else we need to do here.