mpas_tools.mesh.creation.jigsaw_to_netcdf.jigsaw_to_netcdf

mpas_tools.mesh.creation.jigsaw_to_netcdf.jigsaw_to_netcdf(msh_filename, output_name, on_sphere, sphere_radius=None)[source]

Converts mesh data defined in triangle format to NetCDF

Parameters:
  • msh_filename (str) – A JIGSAW mesh file name

  • output_name (str) – The name of the output file

  • on_sphere (bool) – Whether the mesh is spherical or planar

  • sphere_radius (float, optional) – The radius of the sphere in meters. If on_sphere=True this argument is required, otherwise it is ignored.