- class spacepy.pycdf.gAttrList(cdf_file, special_entry=None)¶
Object representing all the gAttributes in a CDF.
Normally accessed as an attribute of an open
>>> global_attribs = cdffile.attrs
Appears as a dictionary: keys are attribute names; each value is an attribute represented by a
gAttrobject. To access the global attribute TEXT:
>>> text_attr = cdffile.attrs['TEXT']