MESMER-group / mesmer

spatially-resolved ESM-specific multi-scenario initial-condition ensemble emulator
https://mesmer-emulator.readthedocs.io/en/latest/
GNU General Public License v3.0
22 stars 17 forks source link

stack predictors and targets for xarray objects #355

Open mathause opened 8 months ago

mathause commented 8 months ago

In #143 I restructured how predictors and targets are stacked. We need to do the same for DataArray objects.

mathause commented 7 months ago

lowess does something similar

https://github.com/MESMER-group/mesmer/blob/7667fe92a545111adf919cfd405f1a380dfc086b/mesmer/stats/_smoothing.py#L92

consider if this can be removed (fine to do in a follow up)