Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@xylar
Copy link
Collaborator

@xylar xylar commented Jan 24, 2025

We remap the topography once without smoothing and then once with smoothing. The unsmoothed topography is used to determine the land mask, thus allowing many meshes with different levels of smoothing to have the same mapping files in E3SM.

For the time being, only two simple types of smoothing are supported: a smoothing over a fixed distance or by expanding cells by a fixed fraction. (The two types of smoothing can also be used at the same time.)

In the future, maps with non-uniform smoothing could be added for finer control.

A check is used to bypass the second smoothing pass if, in fact, no smoothing is requested (the default behavior).

Checklist

  • User's Guide has been updated
  • Document (in a comment titled Testing in this PR) any testing that was used to verify the changes

@xylar xylar added ocean in progress This PR is not ready for review or merging labels Jan 24, 2025
@xylar xylar requested a review from bmooremaley January 24, 2025 16:22
@xylar xylar self-assigned this Jan 24, 2025
compass/ocean/mesh/remap_topography.cfg Outdated Show resolved Hide resolved
@xylar xylar force-pushed the add-topo-smoothing-step branch from ab54706 to 4b79fd4 Compare April 9, 2025 17:19
@xylar xylar removed the in progress This PR is not ready for review or merging label Apr 9, 2025
@xylar xylar force-pushed the add-topo-smoothing-step branch from 4b79fd4 to e401cfb Compare April 9, 2025 17:55
@xylar
Copy link
Collaborator Author

xylar commented Apr 9, 2025

Testing

I ran the Icos240 mesh, init and performance tests using a smoothing factor of 2. I looked at the results in ParaVeiw and the smoothing was visible in the bed_elevation field. I also saw that the topography had been remapped in the step with smoothing (whereas it should just be symlinked if there is no smoothing).

I'm not yet able to run the pr suite because I need to update the cache files.

xylar added 2 commits April 9, 2025 14:49
We remap the topography once without smoothing and then once
with smoothing.  The unsmoothed topography is used to determine
the land mask, thus allowing many meshes with different levels
of smoothing to have the same mapping files in E3SM.

For the time being, only two simple types of smoothing are supported:
a smoothing over a fixed distance or by expanding cells by a fixed
fraction.  (The two types of smoothing can also be used at the
same time.)

In the future, maps with non-uniform smoothing could be added for
finer control.

A check use used to bypass the second smoothing pass if, in fact,
no smoothing is requested (the default behavior).
@xylar xylar force-pushed the add-topo-smoothing-step branch from e401cfb to 1ddefe4 Compare April 9, 2025 19:49
@xylar xylar marked this pull request as ready for review April 9, 2025 20:44
@xylar xylar force-pushed the add-topo-smoothing-step branch from 0673248 to ae23e37 Compare April 10, 2025 14:35
@xylar
Copy link
Collaborator Author

xylar commented Apr 10, 2025

Testing

I successfully ran the pr suite on Chrysalis after caching the required mesh and init files.

@xylar xylar merged commit f14fe3c into MPAS-Dev:main Apr 10, 2025
6 checks passed
@xylar xylar deleted the add-topo-smoothing-step branch April 10, 2025 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.