How to get a third dimension in xarray from loop values?
I have a climatology data array for 41 years over the winter period (defined as November 1 – March 31). From this climatology Xarray DataArray (with over 6,000 days/values), I have grouped the days into four regimes (referring to weather regimes, but we can just simplify this to say 4 groups).