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 toinit
L
: Refers to lead time and is changed tolead
M
: Refers to ensemble member and is changed tomember
- Parameters:
xro (xr.Dataset) – input from CESM/SubX containing dimensions: S, L, M.
- Returns:
climpred
compatible with dimensions –member
,init
,lead
.