sup3r.preprocessing.utilities.ordered_dims

Contents

sup3r.preprocessing.utilities.ordered_dims#

ordered_dims(dims: Tuple)[source]#

Return the order of dims that follows the ordering of Dimension.order() for the common dim names. e.g dims = (‘time’, ‘south_north’, ‘dummy’, ‘west_east’) will return (‘south_north’, ‘west_east’, ‘time’, ‘dummy’).