The flag_masks CF attribute.
Stored as a 1-d numpy array but may be set as array-like object.
>>> f.flag_masks = numpy.array([1, 2, 4], dtype='int8') >>> f.flag_masks array([1, 2, 4], dtype=int8) >>> f.flag_masks = 1 >>> f.flag_masks array([1])
cf.Flags.sort
cf.Flags.flag_meanings
Enter search terms or a module, class or function name.