I've added the EPEL repo, but it seems the libnova library is only in the CentOS 7 EPEL repo. The CentOS 8 EPEL repo does not contain libnova. Is there another way for me to install this library without downloading from a repo? Sorry if that's a dumb question, I'm still getting used to Linux-based systems.
Thank you for the suggestions. I was able to find all of these libraries for CentOS 8 except for the first two: libnova and libnova-devel. I was only able to find them for CentOS 7. Is there another way I can build these two libraries on CentOS?
I was wondering if anyone has had success installing the INDI Library and PyIndi on CentOS 7/8?
I had success installing it on an Ubuntu 20.04 machine, but now would like to get it working on CentOS. I first tried installing the prerequisites but had no luck.
Any help would be greatly appreciated!
Ohhh ok, thank you! I'm very new to the INDI Library so I'm still figuring things out. I really appreciate it!
As far as I can tell, when running indi_getprop, there's no way to control the temperature setpoint. When I ran this CCD using Starlight's own GUI software, there was an option to set the temperature setpoint.
The only available properties I see for this CCD, relating to temperature/cooling, are:
I'm using an SX CCD SXVR-H694 camera. When trying to get/set my CCD's cooler using
indi_getprop "SX CCD SXVR-H694.CCD_COOLER_POWER.CCD_COOLER_VALUE"
Ah wow, I figured it out. Very simple haha.
The 1D byte array that blob.getblobdata() returns IS the contents of the FITS file, in its entirety. All I had to do was open a new binary file and write this array to it:
fits = blob.getblobdata() f = open('/dir/image.fits', 'wb') f.write(fits) f.close()
Thank you for the link, but I'm still a little confused.
I'm new to using Indi, and I'm using the PyIndi wrapper, so I'm not quite sure how to use the CCD::processBLOB. The code I started with is from the example here: www.indilib.org/develop/indi-python-bindings.html .
The relevant part at the end, where I receive the blob's data:
for blob in ccd_ccd1:
print("name: ", blob.name," size: ", blob.size," format: ", blob.format)
print("fits data type: ", type(fits))
# here you may use astropy.io.fits to access the fits data
The format of "blob" returns a bytearray object, and the size is 12104640.
Using astropy.io.fits I can create the fits file but the data is 1D. Can I make a call to CCD::processBLOB somehow to convert this into a 2D byte array that FITS viewers like?
Thank you again for the help.
I'm using PyIndi to make a client that connects to an indiserver for an SX_CCD. This particular CCD is the SX CCD SXVR-H694.
When I receive the blob from the CCD, the type is FITS but it's a 1D bytearray object, not 2D.
How do I go about converting this into the necessary format to save to a FITS file for viewing?