MPAS-Dev / compass

Configuration Of MPAS Setups
Other
10 stars 37 forks source link

Sea ice ~70 m thick in 2 spots in v2.LR.historical_0101 run #444

Closed xylar closed 1 year ago

xylar commented 1 year ago

We likely need to revisit how we cull cells for sea ice in any future meshes.

I will post examples of this problem soon.

xylar commented 1 year ago

This run is available on HPSS at NERSC:

/home/f/forsyth/E3SMv2/v2.LR.historical_0101

At the moment, one year of sample data showing the issue is available on disk here:

/global/cfs/cdirs/e3sm/zhang40/e2c_tests/v2.mpassi_input/

VTK files for this data are here:

/global/cfs/cdirs/e3sm/xylar/e2c_tests/v2.mpassi_input/vtk_files/
xylar commented 1 year ago

Sea-ice thickness in problem areas

Western Ross Shelf, Antarctica: Western_Ross

Disko Bay, Greenland: Disko_Bay

A plot of a field on vertices (zonal velocity in this case) shows the vertex configuration: Western_Ross_vert Disko_Bay_vert

In both cases, there is poor connectivity to the open ocean but (I believe) a configuration that passes our current algorithm for finding isolated sea-ice regions.

xylar commented 1 year ago

There are many other places with similar topology where sea ice does not build up so it must result from a combination of factors (e.g. both mesh topology and atmospheric forcing).

xylar commented 1 year ago

It seems safest to me to widen these "necks" to be 2 cells wide. We widen the rest of a deeper bay (e.g. the one above left in the Canadian Archipelago) to be 2 cells wide and we should do the same at the "neck". My proposal would be that the cellsOnCell of all cells must be adjacent to one another (at least in sea-ice regions). If they are not, we would "dig" one of the intermediate cells so they become adjacent. (Which one would be arbitrary).

xylar commented 1 year ago

@mark-petersen (and any one else interested), please let me know what you think.

xylar commented 1 year ago

@eclare108213, @akturner, @njeffery, this may be something you want to weight in on, too.

xylar commented 1 year ago

@vanroekel and @golaz, is this something you had already taken note of in this simulation?

milenaveneziani commented 1 year ago

Just a comment to say that we have experienced the same with the ARRM mesh. I think it is a combination of 'bottle-neckness' and topography, so I guess geometry in general. With the old ARRM mesh, we got crazy values of ice thickness in some points (hundreds of m), but with the new mesh we are getting more reasonable values (still high, but more like tens of m).

One thing to say is that it is possible that land-fast ice will help in all these cases.

xylar commented 1 year ago

@milenaveneziani, thanks! Sorry I forgot to ping you, too.

xylar commented 1 year ago

I would think land-fast ice would only exaggerate this problem but that's only a guess.

milenaveneziani commented 1 year ago

I guess I imagine all these cases would be handled as land-fast ice and not cause instability problems.

xylar commented 1 year ago

I see.

eclare108213 commented 1 year ago

Keep in mind that the sea ice dynamics in MPAS-SI is on a B-grid, and so narrow inlets like this are stuck. Ice growth like this is seen in other climate models as well. Sometimes it is due to "jiggling" by residual elastic waves in the solution, which acts like an ice growth pump -- the ice cracks, open water forms, new ice freezes then gets ridged into thicker ice. CESM has also seen this associated with runoff from the land model making the ocean surface very fresh. You could check what the fraction of ridged ice in the grid cells, if you have that diagnostic turned on. Unless you care about what's happening in those small inlets, this kind of thing usually can be ignored for climate runs. NOAA hates it in their forecast models, understandably...

xylar commented 1 year ago

@eclare108213, this is very helpful intuition. I'll leave it up to others if you want to investigate the level of ridging going on in this simulation. It certainly might be informative. I would tend to agree that this buildup is probably harmless in these simulations as long as it doesn't cause numerical issues.

I would still advocate that we try to avoid these narrow inlets in future meshes.

milenaveneziani commented 1 year ago

I would still advocate that we try to avoid these narrow inlets in future meshes.

We discussed this extensively, with @mark-petersen as well, in the summer, when we were making the new ARRM mesh. The current algorithm for opening up passages and small bays is working as it should be, with a minimum of 2 open edges (1 vertex) present when doing the culling. We could try making that criteria more stringent, maybe have a minimum of 4 edges or 2 vertices available, especially poleward of a certain latitude. And see if we still get these build-ups.

xylar commented 1 year ago

Again, I think having 2 open edges is not quite enough. I think the problem comes up when those 2 open edge on each side with a closed edge between them. I think you need to have at least 2 open edges, and all open edges need to be adjacent to one another.

milenaveneziani commented 1 year ago

I think you need to have at least 2 open edges, and all open edges need to be adjacent to one another.

I believe this is what the current algorithm does, so we'll need more than that. At least until MPAS-Seaice remains on a B-grid. We may need two open vertices, so 2edges+2edges.

xylar commented 1 year ago

No, the current algorithm allows 2 adjacent open edges, then a closed edge, then 2 adjacent open edges, then a closed edge. Both the problem cases have this feature. Each has an isolated open vertex. So the current algorithm needs to be improved, I believe.

mark-petersen commented 1 year ago

@xylar thanks for posting this. I agree that these are the cells that are causing problems, and that they are allowed by design in the current culled-cell marking algorithm: image See posting at https://github.com/MPAS-Dev/compass/pull/414#issuecomment-1186041258.

We thought that, with sea ice on a B-grid, one active vertex (i.e. two neighboring active edges) would be enough to allow sea ice advection through these cells. Based on the first image in this post, that is obviously not true, as 73m-thick ice is not reasonable.

I can look at the culled-cell marking code to see what is required. This is a good time, as we could make a slight mesh revision before the V3 tuning and simulation campaign.

mark-petersen commented 1 year ago

The code that removes cells with isolated edges is here: https://github.com/MPAS-Dev/MPAS-Tools/blob/master/conda_package/mpas_tools/ocean/coastline_alteration.py#L187-L188

For each cell, we check to see if it has any isolated edges, i.e. wet edges where both the next and previous edges on that cell neighbor a land cell. These are "single-edge-wide channels". The examples in this issue are double-edge-wide channels. One option is to add to this step a search for cells with two consecutive wet edges on a cell, with a land edge on both sides of those. It would add another loop like this: https://github.com/MPAS-Dev/MPAS-Tools/blob/master/conda_package/mpas_tools/ocean/coastline_alteration.py#L209-L212 but testing for an activeNextNextEdge or similar.

A problem with this approach is that it is likely too conservative. Taking a snapshot of Baffin Bay from the top of this issue, all the circled cells have two-wide channels connected to the open ocean, but only that one causes the sea ice pileup problem. I don't think we want to remove all of these.

image

The problem seems to occur when there is an inlet with several cells connected to the open ocean with two-edge-wide channels. So we could test for cells that have TWO double-edge-wide channels, and cull those. On the original image, for example, these cells would be removed, as well as neighboring cells not connected to the global ocean: image Here the red and pink circles all qualify as having two double-edge-wide channels. But I think we could test whether only one of those channels is connected to the global ocean flood-fill (red) or if both channels do (pink), and only remove the red ones. This sounds like the right level of culling to me, if we can figure out how to do it.

xylar commented 1 year ago

Thanks for thinking about this @mark-petersen. I agree with your concept. Actually doing a flood fill will take way too long so we should try to think of another approach but I also agree that we don't want to be quite as conservative as my approach (all activate edges of all cells must be adjacent to one another).

Update: A single flood flood fill on edges might do it (maybe that's what you were thinking).

mark-petersen commented 1 year ago

The simplest thing to try first is to cull cells in step 2 with two double-wide channels (for a six-sided cell, edges have to be wet, wet, land, wet, wet, land). That avoids another flood-fill. It would include the pink circled cells above, but we could see how many cells that actually changes in practice.

proteanplanet commented 1 year ago

Thanks to @milenaveneziani who just made me aware of this issue.

A common cause of sea ice thickness build-up in culverts in coupled models is that the land model physics overbear the sea ice response due to a coarse resolution atmospheric mesh. No amount of culling of ocean model grid points can fix the problem, and it's simply something we have to live with for the model configuration unless we are clever as to how to tackle it.

What can occur is land grid points are more heavily weighted than the ice-ocean grid point under a single atmospheric cell, and as a result the radiative feedback from the land grid point dominates. One example of this is the removal of thick ice against the Archipelago in E3SM, where snow from the land model completely melts in spring, and therefore the atmosphere sees a much lower albedo than it would under just sea ice, which results in sea ice melting faster than replenishing advection can modulate, setting up a negative feedback. The thick ice equivalent discussed here is where a land grid point is much colder or snowier than the equivalent for sea ice, and no matter that this causes sea ice to grow, which would normally regulate the response without sharing an atmospheric grid point with the land model, a positive feedback is created.

There can be other dynamical and thermodynamic reasons for the positive feedback that I won't go into here. But the main point is that cell culling is not a good solution to the problem of positive and negative coupled sea ice feedbacks without due consideration to the land and atmospheric meshes and also without being certain that the feedback cannot be mitigated within the sea ice code itself.

For an increasing number of reasons, I am analyzing the contribution of coupled grid overlap and resolution to feedbacks and will post back here when I have some insights to share.

xylar commented 1 year ago

Okay great, thanks @proteanplanet. This sounds like similar intuition (with some important new details) to what @eclare108213 posted. I think we can be reasonably confident that compass is not the place to address this issue. I'm happy to keep it open here for further discussion but it might make more sense to move the discussion elsewhere if there's an appropriate place.

milenaveneziani commented 1 year ago

My take is that, since this issue does not impact the climate (as the unrealistically thick ice remains anchored and does not affect the large scale ice distribution), then we as climate modelers do not worry about it for low and even higher resolution configurations. But I do feel that, when we will move to much higher res, for one reason or the other (Interface or Hilat problem, or any other polar coastal application), then maybe we should investigate more closely whether we can minimize the problem by adjusting the geometry. Especially in applications where the atmosphere is also high resolution.

xylar commented 1 year ago

I'm closing this because we likely won't be addressing in in compass based on the discussion so far.