pyremap.descriptor.MpasVertexMeshDescriptor.to_scrip
- MpasVertexMeshDescriptor.to_scrip(scrip_filename, expand_dist=None, expand_factor=None)[source]
Create a SCRIP file from the MPAS mesh.
- Parameters:
scrip_filename (str) – The path to which the SCRIP file should be written
expand_dist (float or numpy.ndarray, optional) – A distance in meters to expand each grid cell outward from the center. If a
numpy.ndarray
, one value per cell.expand_factor (float or numpy.ndarray, optional) – A factor by which to expand each grid cell outward from the center. If a
numpy.ndarray
, one value per cell.