spacepy.pycdf.gAttrList

class spacepy.pycdf.gAttrList(cdf_file, special_entry=None)[source]

Object representing all the gAttributes in a CDF.

Normally accessed as an attribute of an open CDF:

>>> global_attribs = cdffile.attrs

Appears as a dictionary: keys are attribute names; each value is an attribute represented by a gAttr object. To access the global attribute TEXT:

>>> text_attr = cdffile.attrs['TEXT']

See also

AttrList