Skip to content

Topography smoothing #436

Closed
Closed

Description

@xylar

I'm concerned that we are not performing an adequate level of topography smoothing in MPAS-Ocean global_ocean configurations. As an example, see bathymetry plot in #433.

I think it would be appropriate to do at least a few iterations of nearest-neighbor smoothing (with weights TBD) as part of initialization. The step currently called smoothing:
https://github.com/MPAS-Dev/MPAS-Model/blob/ocean/develop/src/core_ocean/mode_init/Registry_global_ocean.xml#L178-L181
is actually just filling in holes in topography:
https://github.com/MPAS-Dev/MPAS-Model/blob/ocean/develop/src/core_ocean/mode_init/mpas_ocn_init_global_ocean.F#L976-L1007
which, while important, is not what I would think of when setting the flag config_global_ocean_smooth_topography.

Given that I'm introducing a new bathymetry and ice draft for E3SM Cryosphere simulations, now might be the right time to talk about this issue.

Activity

  1. added
    For discussion
    on Jan 28, 2020
  2. xylar commented on Jan 28, 2020

    @xylar
    CollaboratorAuthor

    @mark-petersen, @vanroekel, @maltrud, @milenaveneziani, Do you have thoughts on this?

  3. milenaveneziani commented on Jan 28, 2020

    @milenaveneziani
    Contributor

    By looking at the bathymetry plot that you pointed us to, I agree that it would be good to get rid of those isolated blue cells.
    For my own indoctrination, could you please say how you obtained that bathymetry plot? I assume it comes as part of jigsaw, after the mesh has been created and while adding a land-mask/bathymetry before creating the initial condition?
    part of the init step?

  4. xylar commented on Jan 28, 2020

    @xylar
    CollaboratorAuthor

    For my own indoctrination, could you please say how you obtained that bathymetry plot? I assume it comes as part of jigsaw, after the mesh has been created and while adding a land-mask/bathymetry before creating the initial condition?

    It's bottomDepth from initial_state.nc the initial_state step of the init stage each test case. It's from COMPASS but not related directly to Jigsaw. But, yes, after both base-mesh creation and cell culling.

  5. milenaveneziani commented on Jan 28, 2020

    @milenaveneziani
    Contributor

    great, thanks.

  6. milenaveneziani commented on Jan 28, 2020

    @milenaveneziani
    Contributor

    Here are some plots of bottom depth for the EC60to10v3. You can see some isolated pixels with fairly different values with respect to their surroundings, even using the lower resolution bathymetry:

    DepthSH_oEC60to30v3
    DepthGlobal_oEC60to30v3

  7. xylar commented on Feb 4, 2020

    @xylar
    CollaboratorAuthor

    @milenaveneziani, just realized I never responded. Thanks for these plots! Yes, I would expect to see noise, including isolated island-like features in the low res v3 configuration, too. That topography is also unsmoothed.

  8. pwolfram commented on Feb 27, 2020

    @pwolfram
    Contributor

    @xylar, this is for discrete, on MPAS mesh nearest-neighbor smoothing, correct?

  9. xylar commented on Feb 28, 2020

    @xylar
    CollaboratorAuthor

    @pwolfram, that's correct. First, we bilinearly interpolate bathymetry to the MPAS grid at cell centers.
    Then, the idea is to do some number of iterations of smoothing where the bathymetry value for the cell gets averaged with the mean of its neighboring cellsOnCell with a weighting of 0.9 for the cell itself and 0.1 for the mean of cellsOnCell. The weights and the number of iterations are namelist options. The default in this PR is zero iterations (no smoothing) for runs without ice-shelf cavities and 6 iterations for runs with ice shelf cavities.

  10. added a commit that references this issue on Mar 11, 2020
    2823470
  11. xylar commented on May 7, 2020

    @xylar
    CollaboratorAuthor

    This was implemented in #440

  12. added a commit that references this issue on Jul 21, 2020
    760c9f9
  13. added a commit that references this issue on Jan 11, 2021
    e7bd627
  14. added a commit that references this issue on Jan 14, 2021
    81744b6
  15. added
    For discussion
    on Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    COMPASSFor discussionOcean

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions