polaris.remap.MappingFileStep.src_from_mpas

MappingFileStep.src_from_mpas(filename, mesh_name, mesh_type='cell')[source]

Set the source grid from an MPAS mesh file

Parameters:
  • filename (str) – A file containing the MPAS mesh

  • mesh_name (str) – The name of the MPAS mesh

  • mesh_type ({'cell', 'edge', 'vertex'}, optional) – Which type of MPAS mesh