-
Notifications
You must be signed in to change notification settings - Fork 8
Least squares polynomial fit with Dask #144
Comments
One thing we've come across at We deal with this by temporarily doing a linear interpolation to fill in the NaNs, then force those back to NaNs on the returned output (in the case of detrending; wouldn't need to replace the NaNs if just getting the slope): https://github.com/bradyrx/climpred/blob/8c1700e94d124424f5f2adf5250a22f2ff8bb3dc/climpred/stats.py#L118 We also have some snippets in there to handle Datasets in addition to DataArrays. |
@kmpaul , I'm curious why this issue was closed with no explanatory comment. |
@klindsay28, I just re-opened it |
I am planning on working on this as part of pydata/xarray#3349 |
Per discussion with @matt-long, it would be useful to add a least squares polynomial fit to esmlab:
The text was updated successfully, but these errors were encountered: