cf.DomainAncillary.add_offset¶
-
DomainAncillary.
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.setprop('add_offset', 10.5) >>> f.getprop('add_offset') 10.5 >>> f.delprop('add_offset')