mpas_analysis.shared.grid.MpasMeshDescriptor¶
-
class
mpas_analysis.shared.grid.MpasMeshDescriptor(fileName, meshName=None)[source]¶ A class for describing an MPAS mesh
-
__init__(self, fileName, meshName=None)[source]¶ Constructor stores the file name
- Parameters
- fileNamestr
The path of the file containing the MPAS mesh
- meshNamestr, optional
The name of the MPAS mesh (e.g.
'oEC60to30'or'oRRS18to6'). If not provided, the data set infileNamemust have a global attributemeshNamethat will be used instead.
Methods
__init__(self, fileName[, meshName])Constructor stores the file name
to_scrip(self, scripFileName)Given an MPAS mesh file, create a SCRIP file based on the mesh.
-