mpas_tools.mesh.conversion.convert¶
- 
mpas_tools.mesh.conversion.convert(dsIn, graphInfoFileName=None, logger=None)[source]¶
- Use - MpasMeshConverter.xto convert an input mesh to a valid MPAS mesh that is fully compliant with the MPAS mesh specification. https://mpas-dev.github.io/files/documents/MPAS-MeshSpec.pdf- Parameters
- dsIn ( - xarray.Dataset) – A data set to convert
- graphInfoFileName (str, optional) – A file path (relative or absolute) where the graph file (typically - graph.infoshould be written out. By default,- graph.infois not saved.
- logger ( - logging.Logger, optional) – A logger for the output if not stdout
 
- Returns
- dsOut ( - xarray.Dataset) – The MPAS mesh