Converting Other Mesh Formats#

Iris’ Mesh Data Model is based primarily on the CF-UGRID conventions (see The Mesh Data Model), but other mesh formats can be converted to fit into this model, enabling use of Iris’ specialised mesh support. Below are some examples demonstrating how this works for various mesh formats.

FESOM 1.4 Voronoi Polygons#

Sample of FESOM mesh voronoi polygons, with variable numbers of sides.

A FESOM mesh encoded in a NetCDF file includes:

  • X+Y point coordinates

  • X+Y corners coordinates of the Voronoi Polygons around these points - represented as the bounds of the coordinates

To represent the Voronoi Polygons as faces, the corner coordinates will be used as the nodes when creating the Iris Mesh.

WAVEWATCH III Spherical Multi-Cell (SMC) WAVE Quad Grid#

Sample of an SMC mesh, with decreasing quad sizes at the coastlines.

An SMC grid encoded in a NetCDF file includes:

  • X+Y face centre coordinates

  • X+Y base face sizes

  • X+Y face size factors

From this information we can derive face corner coordinates, which will be used as the nodes when creating the Iris Mesh.