climpred.preprocessing.shared.set_integer_time_axis

climpred.preprocessing.shared.set_integer_time_axis#

climpred.preprocessing.shared.set_integer_time_axis(xro: DataArray | Dataset, offset: int = 1, time_dim: str = 'time') DataArray | Dataset[source]#

Set time axis to integers starting from offset.

Used in hindcast preprocessing before the concatination of intake-esm happens.