NB. `_get_xy_dim_coords()` also ensures the coordinates are in the order X, Y. (And are DimCoord instances with all that implies.)