Hi Ian,
It is possible, we just have to make sure it fits into a `numpy` array:
```python
In [10]: tiles = np.empty(shape=(2,), dtype=object)
...: tiles[:] = [(1, 10), (2, 5)]
...:
...: xr.DataArray(
...: np.zeros((len(tiles), 3, 2), dtype=int),
...: dims=("tile", "y", "x"),
...: coords={
...: "tile": tiles,
...: "y": [0, 1, 2],
...: "x": [0, 1],
...: },
...: )
Out[10]:
<xarray.DataArray (tile: 2, y: 3, x: 2)>
array([[[0, 0],
[0, 0],
[0, 0]],
[[0, 0],
[0, 0],
[0, 0]]])
Coordinates:
* tile (tile) object (1, 10) (2, 5)
* y (y) int64 0 1 2
* x (x) int64 0 1
```
Not sure if there is a way to construct `tiles` directly, though.
Cheers,
Justus