cf.Field.Flags

Field.Flags

A Flags object containing self-describing CF flag values.

Stores the flag values, meanings and masks CF attributes in an internally consistent manner. These attributes are mirrored by the flag_values, flag_masks and flag_meanings attributes respectively.

Examples

>>> f.Flags
<CF Flags: flag_values=[0 1 2], flag_masks=[0 2 2], flag_meanings=['low' 'medium' 'high']>

Previous topic

cf.Field.attributes

Next topic

cf.Field.space

This Page