spacepy.pycdf.zAttr

class spacepy.pycdf.zAttr(cdf_file, attr_name, create=False)[source]

zAttribute for zVariables within a CDF.

Warning

Because zAttributes are shared across all variables in a CDF, directly manipulating them may have unexpected consequences. It is safest to operate on zEntries via zAttrList.

Note

When accessing a zAttr, pyCDF exposes only the zEntry corresponding to the associated zVariable.

See also

Attr