uxarray._mpas._to_zero_index#
- uxarray._mpas._to_zero_index(grid_var)#
Given an input using that is one-indexed, subtracts one from all non- fill value entries to convert to zero-indexed.
- Parameters:
grid_var (numpy.ndarray) – Grid variable that is one-indexed
- Returns:
grid_var – Grid variable that is converted to zero-indexed, done in-place
- Return type: