cf.DimensionCoordinate.get_quantization

DimensionCoordinate.get_quantization(default=ValueError())[source]

Get quantization metadata.

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.

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

Added in version (cfdm): 1.12.2.0

Parameters:
default: optional

Return the value of the default keyword, because there is no quantization metadata.

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.