I've ported the SP_salinometer method from the matlab gsw toolbox. Doc strings in place, tests added and passing. I'd like to point out that the test data doesn't hit the case where SP < 2. This will also return NaN if the input conductivity ratio is less than 0, this matches the behavior of the matlab version.
Note that I'm at sea on the Revelle until the first week of December, this PR can sit around till then if need be.
I've ported the SP_salinometer method from the matlab gsw toolbox. Doc strings in place, tests added and passing. I'd like to point out that the test data doesn't hit the case where SP < 2. This will also return NaN if the input conductivity ratio is less than 0, this matches the behavior of the matlab version.
Note that I'm at sea on the Revelle until the first week of December, this PR can sit around till then if need be.