cf.CellMeasure.add_offset¶
-
CellMeasure.
add_offset
¶ The add_offset CF property.
If present then this number is subtracted from the data prior to it being written to a file. If both
scale_factor
andadd_offset
properties are present, the offset is subtracted before the data are scaled. See http://cfconventions.org/latest.html for details.Examples
>>> f.add_offset = -4.0 >>> f.add_offset -4.0 >>> del f.add_offset
>>> f.set_property('add_offset', 10.5) >>> f.get_property('add_offset') 10.5 >>> f.del_property('add_offset') 10.5 >>> f.has_property('add_offset') False