In previous implementation the input dataarray when calling get_trend_timeseries was always the same shape as the initial data to which the preprocessor was fitted to.
But it is likely that one wants to reconstruct the trendline timeseries only the data with the same shape (the same as input lat lon shape).
This is now fixed in sub-optimal solution. Preferably the linear trend line gets stored in the same manner as the polyfit coefficients.
In previous implementation the input dataarray when calling
get_trend_timeseries
was always the same shape as the initial data to which the preprocessor was fitted to.But it is likely that one wants to reconstruct the trendline timeseries only the data with the same shape (the same as input lat lon shape).
This is now fixed in sub-optimal solution. Preferably the linear trend line gets stored in the same manner as the polyfit coefficients.