sup3r.preprocessing.utilities.ordered_array

Contents

sup3r.preprocessing.utilities.ordered_array#

ordered_array(data: DataArray)[source]#

Transpose arrays so they have a (space, time, …) or (space, time, …, feature) ordering.

Parameters:

data (xr.DataArray) – xr.DataArray with .dims attribute listing all contained dimensions