AI4S2S / s2spy

A high-level python package integrating expert knowledge and artificial intelligence to boost (sub) seasonal forecasting
https://ai4s2s.readthedocs.io/
Apache License 2.0
20 stars 7 forks source link

Support `xarray.DataArray` in `resample` function #17

Closed geek-yang closed 2 years ago

geek-yang commented 2 years ago

As a user, I want to use resample function in s2s.time module to upscale my xarray type data.

BSchilperoort commented 2 years ago

I have started on implementing xarray data (both DataArray as well Dataset) for the resample method. However currently the resampled data does not have the lag or anchor year as actual coordinates.

To fully implement xarray objects the following steps have to still be done;

BSchilperoort commented 2 years ago

Implemented in #28