cf.Domain.del_data_axes¶
-
Domain.
del_data_axes
(key, default=ValueError())[source]¶ Removes the keys of the axes spanned by the construct data.
Specifically, removes the keys of the domain axis constructs spanned by the data of a metadata construct.
New in version (cfdm): 1.7.0
See also
- Parameters
- Returns
tuple
The removed keys of the domain axis constructs spanned by the data.
Examples:
>>> f.del_data_axes(key='dimensioncoordinate2') ('domainaxis1',)
>>> f.has_data_axes(key='auxiliarycoordinate0') False >>> f.has_data_axes(key='auxiliarycoordinate0', default='no axes') 'no axes'