Fixed reading temperature with fill values when calculating bin edges for spectra.