cf.DimensionCoordinate.properties¶
-
DimensionCoordinate.
properties
(props=None, clear=False, copy=True)[source]¶ Inspect or change the CF properties.
Examples 1: >>> f.properties()
Parameters: - props:
dict
, optional Set dimension coordinate attributes from the dictionary of values. If the copy parameter is True then the values in the attrs dictionary are deep copied
- clear:
bool
, optional If True then delete all CF properties.
- copy:
bool
, optional If True then the values in the returned dictionary are deep copies of the dimension coordinate’s attribute values. By default they are not copied.
Returns: - out:
dict
The CF properties prior to being changed, or the current CF properties if no changes were specified.
Examples 2: - props: