Transform ELR example to xarray
@awr created this example and mentioned this should be transferred to xarray.
https://renkulab.io/gitlab/awr/s2sforecast/-/tree/master/notebooks
https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html