adding spec_cld output (both text files and hdf)