Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gsw infunnel #60

Merged
merged 2 commits into from May 7, 2024
Merged

Add gsw infunnel #60

merged 2 commits into from May 7, 2024

Conversation

ocefpaf
Copy link
Member

@ocefpaf ocefpaf commented Apr 10, 2023

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

@ocefpaf ocefpaf force-pushed the add_gsw_infunnel branch 3 times, most recently from 27adbb3 to 3b06efd Compare April 22, 2024 17:48
@ocefpaf ocefpaf marked this pull request as ready for review April 22, 2024 19:57
@ocefpaf ocefpaf requested a review from efiring April 22, 2024 19:57
@ocefpaf
Copy link
Member Author

ocefpaf commented Apr 22, 2024

@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.

Copy link
Member

@efiring efiring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor changes.

gsw_check_functions.c Outdated Show resolved Hide resolved
gsw_check_functions.c Outdated Show resolved Hide resolved
gsw_oceanographic_toolbox.c Outdated Show resolved Hide resolved
@ocefpaf
Copy link
Member Author

ocefpaf commented May 7, 2024

Minor changes.

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

Copy link
Member

@efiring efiring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merge when ready.

@ocefpaf ocefpaf merged commit 7b178e3 into TEOS-10:master May 7, 2024
4 checks passed
@ocefpaf ocefpaf deleted the add_gsw_infunnel branch May 7, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants