cf.Flags.flag_meanings¶
-
Flags.
flag_meanings
¶ The flag_meanings CF attribute.
Stored as a 1-d numpy string array but may be set as a space delimited string or any array-like object.
Examples: >>> f.flag_meanings = 'low medium high' >>> f.flag_meanings array(['low', 'medium', 'high'], dtype='|S6') >>> f.flag_meanings = ['left', 'right'] >>> f.flag_meanings array(['left', 'right'], dtype='|S5') >>> f.flag_meanings = 'ok' >>> f.flag_meanings array(['ok'], dtype='|S2') >>> f.flag_meanings = numpy.array(['a', 'b']) >>> f.flag_meanings array(['a', 'b'], dtype='|S1')