Get Omega reference density from polaris.constants when computing z-tilde#489
Conversation
|
@alicebarthel, could you have a quick look when you can? No existing Polaris tests use the functions from which I have removed |
With this merge, we no longer support a polaris config option for rho0, instead relying on `seawater_density_reference` that will soon come from the Physical Constants Dictionary (PCD).
f785b7f to
d99536a
Compare
polaris.constants when computing z-tilde
TestingUsing tests from #465, I'm seeing all passing on Chrysalis with Intel: It doesn't look like the switch from rho0 = 1035 to 1026 made any difference in terms of number of iterations needed to compute the pseudo-thickness initial condition either. The |
|
@xylar This looks good to me based on visual inspection of the code changes. |
|
@alicebarthel, nope, just wanted a quick visual inspection like you did. Thanks! |
|
We missed polaris/polaris/ocean/conservation.py Line 4 in 9f11d07 Should follow up sometime soon... |
|
Good catch, @xylar! |
With this merge, we no longer support a polaris config option for rho0, instead relying on
seawater_density_referencethat will soon come from the Physical Constants Dictionary (PCD).This is the Polaris equivalent of E3SM-Project/Omega#358.
Checklist
Testingcomment in the PR documents testing used to verify the changes