# cf.FieldList.select_by_naxes¶

FieldList.select_by_naxes(*naxes)[source]

Select field constructs by property.

To find the inverse of the selection, use a list comprehension with match_by_naxes method of the construct elements. For example, to select all constructs which do not have 3-dimensional data:

>>> gl = cf.FieldList(
...     f for f in fl if not f.match_by_naxes(3)
... )


New in version 3.0.0.

Parameters
naxes: optional

Select field constructs whose data spans a particular number of domain axis constructs.

A number of domain axis constructs is given by an int.

If no numbers are provided then all field constructs are selected.

Returns
FieldList

The matching field constructs.

Examples:

TODO