-
Notifications
You must be signed in to change notification settings - Fork 131
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
doc: correct Pstar
units
#477
doc: correct Pstar
units
#477
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Philippe,
When looking at the change I just saw that you write N/m\ :math:^2
while just above for k2 it is written as N/m\ :math:^3
. Could you please correct one of them (I guess k2 is not done properly)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. We have P as N/m in other parts of the documentation (which should probably be changed because the value is hardwired in the doc)
https://cice-consortium-icepack.readthedocs.io/en/master/science_guide/sg_mechanical.html
(and if you look at eq 14 there, P has units of kg/s^2, which converts to N/m). Since Pstar includes a factor of thickness h, it needs to be N/m^2.
48e7b01
to
41e3bd2
Compare
'Pstar' was added to the namelist in c9cfebd (add Pstar and Cstar to namelist (CICE-Consortium#475), 2020-06-26), but the wrong units were added to the documentation (N/m instead of N/m^2). Also, it already appeared in the index with the same wrong units. Fix that. While at it, fix the RST syntax for `k2`. Reported-by: Jean-François Lemieux <[email protected]>
41e3bd2
to
51ceba4
Compare
@JFLemieux73 I've fixed the RST syntax for @eclare108213 I fixed another occurence of "N/m" for Pstar in I went to the output of I'll do a separate Icepack PR for these. Maybe we'll want to merge the Icepack PR so that this here PR can reference the new Icepack commit ? this would be cleaner, I think. |
Fixing Icepack and merging it with this PR would be cleaner, yes, though not essential. Either way, thanks for doing this. |
I've just pushed an additional commit updating Icepack to the latest master. |
I will run a full test suite with this PR. Now that icepack is updated, we should do that testing first. |
thanks @apcraig. I agree. |
The test results are https://github.com/CICE-Consortium/Test-Results/wiki/cice_by_hash_forks#2e2cb0afe0fa8570d870eafec14c94d3f9d83eaa. This is fine. There are several regression failures due to the upgrade in Icepack, but this is expected. These come from code changes in CICE-Consortium/Icepack#320 and are documented clearly there. |
PR checklist
Correct units for
Pstar
in the doc.P. Blain
No tests; doc changes only.
I checked the units for
Pstar
in Hibler's 1979 paper for #475, but it appears Hibler made a mistake in his table!@JFLemieux73 pointed that to me offline.