You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's been a while since this issue was posted, but since I just had to deal with this error message I thought I would try to answer. The problem is likely that there are multiple extensions in the fits files you are loading into make_rgb_cube. It looks like the function only accepts fits files with a single extension.
You can check the extensions contained in your fits files with this code:
Here is part of my code:
import aplpy
aplpy.make_rgb_cube(['rings.v3.skycell.1234.089.stk.g.unconv.fits', 'rings.v3.skycell.1234.089.stk.i.unconv.fits',
'rings.v3.skycell.1234.089.stk.y.unconv.fits'], 'rings.v3.skycell.1234.089.stk.fits')
I am getting this error: ValueError: More than one HDU is present, please specify HDU to use with
hdu_in=
optionHow do I resolve this?
The text was updated successfully, but these errors were encountered: