cf.CellMeasure.get_quantize_on_write

CellMeasure.get_quantize_on_write(default=ValueError())[source]

Get a quantize-on-write instruction.

Quantization eliminates false precision, usually by rounding the least significant bits of floating-point mantissas to zeros, so that a subsequent compression on disk is more efficient.

CellMeasure data can not be quantized, so the default is always returned.

Added in version (cfdm): 1.12.2.0

See also

get_quantization

Parameters:
default: optional

Return the value of the default keyword, because there is no quantize-on-write instruction.

If set to an Exception instance then it will be raised instead.

Returns:

The default.

If set to an Exception instance then it will be raised instead.