pyremap.descriptor.MpasEdgeMeshDescriptor
- class pyremap.descriptor.MpasEdgeMeshDescriptor(filename, mesh_name=None)[source]
A class for describing an MPAS edge 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