is `astype('=f')` needed here?  If so, maybe it's better if we add `check_endian` to a flattened data accessor in `SpectralCube`.  Not sure the others would agree about that, though.