cfdm.DomainAncillary.set_properties¶
-
DomainAncillary.
set_properties
(properties, copy=True)[source]¶ Set properties.
New in version (cfdm): 1.7.0
See also
- Parameters
- Returns
Examples
>>> f = cfdm.DomainAncillary() >>> f.properties() {} >>> f.set_properties({'standard_name': 'air_pressure', ... 'long_name': 'Air Pressure'}) >>> f.properties() {'standard_name': 'air_pressure', 'long_name': 'Air Pressure'} >>> f.set_properties({'standard_name': 'air_pressure', 'foo': 'bar'}) >>> f.properties() {'standard_name': 'air_pressure', 'long_name': 'Air Pressure', 'foo': 'bar'} >>> f.clear_properties() {'standard_name': 'air_pressure', 'long_name': 'Air Pressure', 'foo': 'bar'} >>> f.properties() {}