-
Notifications
You must be signed in to change notification settings - Fork 14
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
gsw_enthalpy_first_derivatives: doc says 3 return values, code has 2 return values #7
Comments
Also, I think, the check values in the HTML for > d
$h_SA
[1] -0.070223912348929 -0.351159768365102 -0.887025065692568
[4] -1.829602387915694 -4.423463748270238 -7.405100077558673
$h_CT
[1] 3991.89970553048 3992.02564052010 3992.21036503074 3992.28415025049
[5] 3992.68538912266 3993.01416853418 |
Also, |
The help page is incorrect, only two derivatives are returned. I initially had the programme returning the pressure derivative but deleted it as h_P is specific volume, v. I have also rerun the code and updated the check values reported on the webpage, see below. SA = [34.7118; 34.8915; 35.0256; 34.8472; 34.7366; 34.7324;] [h_SA, h_CT] = gsw_enthalpy_first_derivatives(SA,CT,p) h_SA = -0.070223912348929 h_CT = 1.0e+03 * 3.991899705530481 |
Thanks, @PaulMBarker. I've updated the doc and test suite in the As of this moment (2017-03-20 09:30:47 UTC), the webpage http://www.teos-10.org/pubs/gsw/html/gsw_enthalpy_first_derivatives.html still lists the old check values. Also, on that webpage, we still see "3.05 (16th February, 2015)" as the date. I wonder if those webpages are cached, so that I'm seeing an old version? |
I can not update the webpages from CSIRO
…________________________________
From: Dan Kelley <notifications@github.com>
Sent: 20 March 2017 20:33:36
To: TEOS-10/GSW-Matlab
Cc: Paul Barker; Mention
Subject: Re: [TEOS-10/GSW-Matlab] gsw_enthalpy_first_derivatives: doc says 3 return values, code has 2 return values (#7)
Thanks, @PaulMBarker<https://github.com/PaulMBarker>. I've updated the doc and test suite in the develop branch of GSW-R, commit b74c88ef39b903f71234efad8d46da22ad913784.
As of this moment (2017-03-20 09:30:47 UTC), the webpage http://www.teos-10.org/pubs/gsw/html/gsw_enthalpy_first_derivatives.html still lists the old check values. Also, on that webpage, we still see "3.05 (16th February, 2015)" as the date. I wonder if those webpages are cached, so that I'm seeing an old version?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#7 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AJuDT4a39KhhCAYJt88ce23MtfkgL2Uhks5rnkfwgaJpZM4Mhcw5>.
|
I'm finally getting around to closing this issue with respect to GSW-R, which consists mainly of removing the warning that the test values on the TEOS-10 website were wrong. Sorry for the delay. The fix is in |
The doc says 3 return values: http://www.teos-10.org/pubs/gsw/html/gsw_enthalpy_first_derivatives.html
The code says 2 return values: https://github.com/TEOS-10/GSW-Matlab/blob/master/Toolbox/gsw_enthalpy_first_derivatives.m#L1
The text was updated successfully, but these errors were encountered: