spacepy.pycdf.CDFCopy¶
-
class
spacepy.pycdf.CDFCopy(cdf)[source]¶ A dictionary-like copy of all data and attributes in a
CDFData are
VarCopyobjects, keyed by variable name. CDF attributes are inattrs. (I.e., data are accessed much like from aCDF).Do not instantiate this class directly; use
copy()on an existingCDF.Examples
>>> from spacepy import pycdf >>> with pycdf.CDF('test.cdf') as cdffile: ... data = cdffile.copy()
-
attrs¶ Python dictionary containing attributes copied from the CDF.
-
