pyremap.descriptor.MpasCellMeshDescriptor
- class pyremap.descriptor.MpasCellMeshDescriptor(filename, mesh_name=None)[source]
A class for describing an MPAS cell mesh
- Variables:
Methods
__init__
(filename[, mesh_name])Constructor stores the file name
mesh_name_from_attr
(ds)Get the mesh name from the dataset attributes if not already set
to_scrip
(scrip_filename[, expand_dist, ...])Create a SCRIP file from the MPAS mesh.
write_netcdf
(ds, filename)Write the mesh to a NetCDF file
Attributes
filename
mesh_name
history