-
Notifications
You must be signed in to change notification settings - Fork 40
Several fixes to global ocean meshes with MALI topography #932
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
Conversation
The ice draft is determined by flotation in floating regions but is equal to the bed elevation in grounded regions. We also include `sea_level` (currently zero) in the calculation of the ice draft.
It is first masked to below sea level, then remapped, then renormalized by the ocean fraction (area below sea level).
We need to use the appropriate unsmoothed or smoothed scrip file, whereas we were previously creating a new MPAS-Ocean scrip file that was always without smoothing.
TestingI ran the
I now see, as expected:
For paraview verification, see |
|
@xylar Can you let me know whether this is what you expect and whether you intend that we would correct the negative water column thicknesses (red in figure below) before the digging phase? All figures below are plotting the difference between land ice draft and bed elevation In
|
|
The values before remapping in the masked region aren't meaningful. They get culled so negative values are just irrelevant noise. So I think this is expected. I didn't see any negative results after culling in my testing, so I think this is as expected. Thanks for checking. |
I'm a bit confused by your comment. I agree that the red values in the
compass/ocean/tests/global_ocean/mesh/remap_mali_topography/__init__.py
|
|
@cbegeman, sorry, I clearly misunderstood. It was late and I was trying to get in a response (on my phone) so you wouldn't have to wait until next week but that wasn't very helpful of me. I plotted both of the source datasets that get blended together:
In both cases, I see exactly zero difference between |
|
The results looked as expected -- was close to zero, though it was noisy ~+/-1e-8 around grounding lines for some reason. I don't really understand why, but it doesn't seem worth spending too much time on, since |
cbegeman
left a comment
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.
@xylar I think this is ready to go in. Thanks for iterating with me on this. I've looked at the resulting output for the mesh task for SOwISC12to30 and IcoswISC with grounded ice areas included in the mesh. Have you looked at the output when grounded ice areas are excluded?
No I haven't looked that that. It would be good to run that quickly before I merge. Thanks for the review! |
|
I ran the SOwISC12to30 mesh again, excluding the grounded region. The culled-mesh topography fields look good to me in ParaView. |
|
@xylar Thanks! |





This merge:
sea_level(currently zero) in the calculation of the ice draft.Checklist
Testingin this PR) any testing that was used to verify the changes