tensorstore.Spec.fill_value : ArrayLike | None

Effective fill value, including any constraints implied by driver-specific options.

Example

>>> spec = ts.Spec({
...     'driver': 'zarr',
...     'kvstore': {
...         'driver': 'memory'
...     },
...     'metadata': {
...         'compressor': None,
...         'dtype': '<f4',
...         'fill_value': 42,
...     }
... })
>>> spec.fill_value
array(42., dtype=float32)

Note

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