cf.Domain.set_data_axes¶
-
Domain.
set_data_axes
(axes, key)[source]¶ Set the domain axis constructs spanned by the data of a metadata construct.
New in version 1.7.0.
See also
data
,del_data_axes
,get_data
,get_data_axes
,has_data_axes
Parameters: - axes: sequence of
str
The identifiers of the domain axis constructs spanned by the data of the field or of a metadata construct.
- Parameter example:
axes='domainaxis1'
- Parameter example:
axes=['domainaxis1']
- Parameter example:
axes=['domainaxis1', 'domainaxis0']
- key:
str
, optional Specify a metadata construct.
- Parameter example:
key='domainancillary1'
Returns: Examples:
>>> f.set_data_axes(['domainaxis0', 'domainaxis1']) >>> f.get_data_axes() ('domainaxis0', 'domainaxis1') >>> f.del_data_axes() ('domainaxis0', 'domainaxis1') >>> print(f.del_dataxes(None)) None >>> print(f.get_data_axes(None)) None
- axes: sequence of