mpas_analysis.shared.grid.MpasMeshDescriptor

class mpas_analysis.shared.grid.MpasMeshDescriptor(fileName, meshName=None)[source]

A class for describing an MPAS mesh

__init__(fileName, meshName=None)[source]

Constructor stores the file name

Parameters:
fileName : str

The path of the file containing the MPAS mesh

meshName : str, optional

The name of the MPAS mesh (e.g. 'oEC60to30' or 'oRRS18to6'). If not provided, the data set in fileName must have a global attribute meshName that will be used instead.

Methods

__init__(fileName[, meshName]) Constructor stores the file name
to_scrip(scripFileName) Given an MPAS mesh file, create a SCRIP file based on the mesh.