spacepy.datamodel.fromCDF¶
- spacepy.datamodel.fromCDF(fname)[source]¶
Create a SpacePy datamodel representation of a NASA CDF file
- Parameters:
- filestring
the name of the cdf file to be loaded into a datamodel
- Returns:
- outspacepy.datamodel.SpaceData
SpaceData with associated attributes and variables in dmarrays
See also
Examples
>>> import spacepy.datamodel as dm >>> data = dm.fromCDF('test.cdf')