mpas_tools.mesh.creation.mpas_to_triangle.mpas_to_triangle

mpas_tools.mesh.creation.mpas_to_triangle.mpas_to_triangle(mpasfile, trifile)[source]

Script to convert from MPAS netCDF format to the Triangle format: https://www.cs.cmu.edu/~quake/triangle.node.html https://www.cs.cmu.edu/~quake/triangle.ele.html

Parameters:
  • mpasfile (str) – The path to an MPAS mesh in NetCDF format

  • trifile (str) – The prefix for the Triangle output files. Files with extensions .node and .ele will be produced.

  • meshes. (Only works for planar)