Open erwinlambert opened 3 days ago
For completeness and reproducibility, an example is the MISOMIP+ spinup with these resolutions. This setup crashes during the creation of the third mesh.
! Resolutions for different parts of the ice sheet
maximum_resolution_uniform_config = 20e3 ! [m] Maximum resolution for the entire domain
maximum_resolution_grounded_ice_config = 8e3 ! [m] Maximum resolution for grounded ice
maximum_resolution_floating_ice_config = 3e3 ! [m] Maximum resolution for floating ice
maximum_resolution_grounding_line_config = 2e3 ! [m] Maximum resolution for the grounding line
maximum_resolution_calving_front_config = 5e3 ! [m] Maximum resolution for the calving front
maximum_resolution_ice_front_config = 20e3 ! [m] Maximum resolution for the ice front
maximum_resolution_coastline_config = 20e3 ! [m] Maximum resolution for the coastline
! Widths for each resolution band
grounding_line_width_config = 2.5e3 ! [m] Width of the band around the grounding line that should get this resolution
calving_front_width_config = 2.5e3 ! [m] Width of the band around the calving front that should get this resolution
ice_front_width_config = 10e3 ! [m] Width of the band around the ice front that should get this resolution
coastline_width_config = 1000e3 ! [m] Width of the band around the coastline that should get this resolution
Hmm, so this becomes a lot more stable when using narrow widths of grounding_line and calving_front. Seems to be a conflict when these bands overlap? Based on trial and error, a width < maximum_resolution for grounding line and calving front appears to be a criterion for stable mesh creation.
In quite a bunch of configurations, the mesh creation crashes with the following error:
In some cases, this occurs during remapping. Slight changes in the different resolutions solve it, but it's a bit of a gambling game. Would be nice if this could be made a bit more robust.