I\'m have a big 3D array, where each layer is data from one time. I want to compute time-series statistics at each grid cell through time. The code block below is a greatly over