tensorstore.Spec.domain : IndexDomain | None

Effective index domain, including any constraints implied by driver-specific options.

Example

>>> spec = ts.Spec({
...     'driver': 'zarr',
...     'kvstore': {
...         'driver': 'memory'
...     },
...     'metadata': {
...         'dtype': '<u2',
...         'shape': [1000, 2000, 3000],
...     }
... })
>>> spec.domain
{ [0, 1000*), [0, 2000*), [0, 3000*) }

Note

This does not perform any I/O. Only directly-specified constraints are included.