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:

ds (xarray.DataSet object) – The data set potentially containing repeated time indices.

Returns:

ds (xarray.DataSet object) – A copy of the original data set with any repeated time indices removed.