I trained a model on the time dimension of my dataset. The model takes in input 6 values of shape: input_shape = (None, 6, 1) and outputs one value.
I want to make the prediction on every pixel (lat, lon) for the past 6 timesteps.
I tried stacking the dataset on every point (lat, lon) and grouping it on this dimension before appying the function using xr.apply_ufunc. However, I still get that error of dimensions.
I am sure this is a common problem but still cant figure out how to fix.
Any help would be appreciated!