mpas_analysis.shared.mpas_xarray.mpas_xarray.remove_repeated_time_index

mpas_analysis.shared.mpas_xarray.mpas_xarray.remove_repeated_time_index(ds)[source]

Remove repeated times from xarray dataset.

Parameters
dsxarray.DataSet object

The data set potentially containing repeated time indices.

Returns
dsxarray.DataSet object

A copy of the original data set with any repeated time indices removed.