cf.Constructs.filter_by_data¶
-
Constructs.
filter_by_data
()[source]¶ Select metadata constructs by whether they could contain data.
Selection is not based on whether they thay actually have data, rather by whether the construct supports the inclusion of data. For example, constructs selected by this method will all have a
get_data
method.New in version 1.7.0.
See also
filter_by_axis
,filter_by_key
,filter_by_measure
,filter_by_method
,filter_by_identity
,filter_by_naxes
,filter_by_ncdim
,filter_by_ncvar
,filter_by_property
,filter_by_type
,filters_applied
,inverse_filter
,unfilter
Returns: Constructs
The selected constructs and their construct keys.
Examples:
Select constructs that could contain data:
>>> d = c.filter_by_data()