I need to read CDF file with using python. I have found libraries but i did not understand how use it. For example at this(Python lib), i need to download CDF lib, i don\'t
While ago I had same problem. I assume, you work on Windows...
According to Spacepy documentation you need several dependencies to use its's cdf module.
First of all it SpacePy officially supports only 32-bit python version, therefore you have to have python in 323bit.
Second, it requires NASA CDF library installed in you system (also 32 bit version). You can grab it from here.
Third proceed with Spacepy dependencies:
Most of them are part of Anaconda bundle. If they are not and you have to install them simply pip install .
If you have problems with compiling from the sources, I advice to go to Christoph Gohlke web site and grab pre-built binaries for Windows matching your python version. http://www.lfd.uci.edu/~gohlke/pythonlibs/
This should get you going with Spacepy CDF module.
You can also try another approach. Download CDF-to-netCDF converter from NASA page and run it on your CDF file.
Python has nice netCDF module, which can be installed from GitHub, or python repo. In this case you also need several dependencies like HDF5, netCDF-4, numpy, cython.
Once you have netCDF file, you can access it with netCDF module or scipy.io module.