from spectral_cube import SpectralCube
from astropy import units as u
cube = SpectralCube.read('http://www.astropy.org/astropy-data/l1448/l1448_13co.fits')
fivecube = cube * 5 # all good, this is a cube
failure = 5 * cube # kinda ok, this raises an exception
bug = 5*u.km * cube # this results in a numpy array