Replace spacepy's pycdf with cdflib
To do:
-
remove spacepy dependency and replace with cdflib 1. Spacepy is overkill for our needs -
adjust all CDF read/write instances in imp_io.py module -
fix (first instance of) write_imp_CDF()
function definition in imp_io.py module...it should bewrite_imp_json()
2
Details
If an interface that can read older <v3 CDF files is needed, spacepy's pycdf (with its wrapper to the official NASA CDF library) would be necessary, but for our needs, installing the entire spacepy package for one (admittedly powerful) class is overkill. CDFlib does what we need, and has no complicated dependencies beyond numpy, which we require anyway.
-
this is a CDF-related issue...sort of...but it is an easy long-standing bug fix
↩