Function to read CDF into a list of spectra