added code developed for all-sky camera project