The Technology
Measuring the Alpaca Required Observing Conditions
The TychoCam leverages several hardware technologies and software techniques to determine the ASCOM Observing Conditions and to present these in a meaningful and useful manner both on the website and on the APIs The API is in compliance with the ASCOM standards.
Hardware Gauges and Measurements
Hardware technologies to precisely measure conditions at a geographic location are attached to the Tychocam. The TychoCam integrates the following hardware (with a considerable amount of supporting custom software):
Ambient Temperature | Infrared Sky Temperature | Wind Speed and Direction |
Relative Humidity | Rain Intensity | Barometric Pressure |
Sky Brightness LUX | Sky Quality | Bortle |
Wind Gust |
Calculated Observed Conditions
StarFWHM | Cloudiness |
These conditions are created from comparing the image to the Bright Star Catalog. This resultant measurements are provided in the required format and measures (LUX, Bortle, arc-secs, metric, etc). This data is available on the user web site as well as the API's.
As backup to the local conditions reporting hardware, the TychoCam will query the local National Weather Service to provide for the missing data.
Image Processing - Astronomical Night
An image is taken every 30 ms to 60 seconds with the 1816x1816 color astronomy camera and fish-eye lens. The image is processed as follows (simple explanation):
Image Processing - Daytime
An example of the complexity in describing mother nature is modeling and computing the conditions as shown in the below image of a cloudy daytime. Cloudcover is computed in real time using atmospheric modeling. The thicker the atmosphere, the more light reddens and dims because of scattering. This is important in order to create a model of how the sky should look without any clouds.
As the result, the code creates an image of an idealized cloudless sky for a given sun position. Then we subtract this image from the actual camera's image to highlight clouds, and after that, we calculate all pixels marked as clouds to get the percentage of cloudiness.
The code creates a model that leverages scattering and attenuation of light rays in the atmosphere. This list of tasks below is not complete, only to show that measuring cloudiness involves significant computations.
The image below is a processed daytime image, as opposed to astronomical night. The sun and moon are masked out to eliminate light colored pixels from the sun rays. A transformation matrix has been used to rotate and align pixels with their true position in the sky, to compensate for the position skewed by the fish eye lens.
Some data values have been optionally superimposed over the image to provide additional relevant information. The constellations, also shown optionally, are superimposed in their correct location for that geographic location and time.
The trees and other obstacles are subtracted from the cloudiness calculation as needed by the particulars of the site. Optional masking of objects, such as an antenna or dome, can be masked by the system administrator.