cf.CellMeasure.scale_factor

CellMeasure.scale_factor

The scale_factor CF property.

If present then the data are divided by this factor prior to it being written to a file. If both scale_factor and add_offset properties are present, the offset is subtracted before the data are scaled. See http://cfconventions.org/latest.html for details.

Examples

>>> f.scale_factor = 10.0
>>> f.scale_factor
10.0
>>> del f.scale_factor
>>> f.set_property('scale_factor', 10.0)
>>> f.get_property('scale_factor')
10.0
>>> f.del_property('scale_factor')
10
>>> f.has_property('scale_factor')
False