climpred.preprocessing.shared.rename_SLM_to_climpred_dims

climpred.preprocessing.shared.rename_SLM_to_climpred_dims#

climpred.preprocessing.shared.rename_SLM_to_climpred_dims(xro: DataArray | Dataset) DataArray | Dataset[source]#

Rename ensemble dimensions common to SubX or CESM output.

  • S : Refers to start date and is changed to init

  • L : Refers to lead time and is changed to lead

  • M: Refers to ensemble member and is changed to member

Parameters:

xro (xr.Dataset) – input from CESM/SubX containing dimensions: S, L, M.

Returns:

climpred compatible with dimensions – member, init, lead.