UGRID compliance#
Mesh topologies are produced by the mesh generators following the UGRID convention [1]. The convention specifies mandatory and optional data. The following sections document variables/data which are output for a given mesh topology in a mesh output file:
UGRID mandatory data
UGRID optional data
Non-UGRID data for application support
Mandatory UGRID data#
node_coordinatesNode coordinates, [lon,lat] for spherical domains, [x,y] forflat cartesian domains.face_node_connectivityInteger identifiers of nodes that construct a given face.
Optional UGRID data#
face_coordinatesThese are derived from the node coordinates as follows:For Cubed-Sphere meshes, the faces are not necessarily of similar size along the [lon,lat] axes.
For the nodes connected to a given face, the node coordinates are converted from (lon, lat, radius=1) to cartesian [x,y,z] coordinates.
The face centre is calculated as the mean of vector sum of the node coordinates, allowing for a radius ratio.
The face centre coordinates are converted back to (lon, lat).
For Planar meshes, the domains are constructed to be aligned with the coordinate axes, whether [lon,lat] or [x,y]. The face centre coordinates are obtained from an offset to the cell’s NW node location., i.e. (x,y) NW node + 0.5(\(\Delta\) x, \(-\Delta\) y) cell.
edge_node_connectivityInteger identifiers of nodes that construct a given edge.face_face_connectivityInteger identifiers of faces adjacent to a given face.face_edge_connectivityInteger identifiers of edges that construct a given face.
Non-UGRID data#
- GeometryIndicates the geometrical shape the mesh domain forms, i.e. spherical.Related attribute:
geometry - Coordinate systemIndicates the coordianate system used to interpret coordinate values.Related attributes:
coord_sys - PeriodicityIndicates the periodic state of the domain boundaries on a given axis.Related attribute:
topology,periodic_x,periodic_y - InterMesh mapsIndicates the targets of InterMesh maps that are present in the file, where the given mesh is the source.Related attributes:
n_mesh_maps,maps_to - Domain extentsDomain extents along the coordinate system axes.Related attributes:
domain_extents - Domain feature locationsCoordinate locations of significant features on the mesh, e.g. North pole.Related attributes:
north_pole,null_island,equatorial_latitude
Footnotes