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
I want to use aplpy to create a rgb image from three different fits files of different projections. Thus I first import aplpy, define the directory paths to the files, and create a rgb cube via
I am quite puzzled with this, since I have been working with fits files quite a while now, I opened, modified, closed and saved them before and never experienced this error before. Also googling the error did not really help. I am on Ubuntu 22.04.1 via a vcn server using python 3.10.6 and aplpy 2.1.0. I installed aplpy via pip install and checked for numpy (version 1.21.5), matplotlib (v 3.6.3), and astropy (v 5.0.2). Also, pillow version (9.4.0).
It is the first time for me opening an issue on github, so please if I am violating/breaking any protocols, please tell me and I will do my best to correct myself.
Does anybody have an idea how to address this error?
Best,
zimmni
The text was updated successfully, but these errors were encountered:
File /usr/lib/python3/dist-packages/PIL/Image.py:2212, in Image.save(self, fp, format, **params)
2209 fp = builtins.open(filename, "w+b")
2211 try:
-> 2212 save_handler(self, fp, filename)
2213 finally:
2214 # do what we can to clean up
2215 if open_fp:
File /usr/lib/python3/dist-packages/PIL/FitsStubImagePlugin.py:90, in _save(im, fp, filename)
88 def _save(im, fp, filename):
89 if _handler is None or not hasattr("_handler", "save"):
---> 90 raise OSError("FITS save handler not installed")
91 _handler.save(im, fp, filename)
Hello,
I want to use aplpy to create a rgb image from three different fits files of different projections. Thus I first import aplpy, define the directory paths to the files, and create a rgb cube via
Then I want to create the rgb image using
However, here I receive the error
I am quite puzzled with this, since I have been working with fits files quite a while now, I opened, modified, closed and saved them before and never experienced this error before. Also googling the error did not really help. I am on Ubuntu 22.04.1 via a vcn server using python 3.10.6 and aplpy 2.1.0. I installed aplpy via pip install and checked for numpy (version 1.21.5), matplotlib (v 3.6.3), and astropy (v 5.0.2). Also, pillow version (9.4.0).
It is the first time for me opening an issue on github, so please if I am violating/breaking any protocols, please tell me and I will do my best to correct myself.
Does anybody have an idea how to address this error?
Best,
zimmni
The text was updated successfully, but these errors were encountered: