E3SM-Project / polaris

Testing and analysis for OMEGA, MPAS-Ocean, MALI and MPAS-Seaice
BSD 3-Clause "New" or "Revised" License
6 stars 13 forks source link

Add mapping file step #40

Closed xylar closed 1 year ago

xylar commented 1 year ago

This merge adds the MappingFileStep to the framework. It can be used to create mapping files between various grids and meshes.

The merge also adds an example of its usage to the cosine bell test case. Each MPAS mesh is remapped to a regular lon-lat grid with 0.5 degree resolution (by default -- a config option can be used to change this) using conservative remapping (again, controlled by a config option).

This merge builds off of dependencies, added in #39

Checklist

xylar commented 1 year ago

Testing

This has been tested in conjunction with #39 and #34. The new VizMap and Viz steps run as expected on a sequence of resolutions on my laptop (210, 240, 270 and 300 km).

xylar commented 1 year ago

@cbegeman, I pulled this out of #34. I hope there aren't any surprises here. If you wouldn't mind giving it a quick glance when you can, I'd appreciate it. Then, I'll merge and rebase #34 so it can go in cleanly. No need to re-review that one.

xylar commented 1 year ago

Thanks for taking a look @cbegeman!