An embedded system for the infrared cloud imager