uxarray.io._mpas._replace_padding#
- uxarray.io._mpas._replace_padding(verticesOnCell, nEdgesOnCell)#
Replaces the padded values in verticesOnCell defined by nEdgesOnCell with a fill-value.
- Parameters:
verticesOnCell (numpy.ndarray) – Vertex indices that surround a given cell
nEdgesOnCell (numpy.ndarray) – Number of edges on a given cell
- Returns:
verticesOnCell – Vertex indices that surround a given cell with padded values replaced by fill values, done in-place
- Return type: