Hi all!

I'm developing my own script (JS) for capturing sky-flats to include into shutdown script. For taking exposures, I will use SUP.TakePicture.

The idea in general as following. Every day, the script captures several sky-flats in all filters and saves them to a separate folder (one day - one folder). Also save the all-sky camera image to same folder to control real weather. Next, when I have time, I sort through these foldersby hands. Delete folders with bad pictures from all-sky.





And I have two questions


1. How can I get a sky-flat background median to adjust exposure time?

2. How can I copy this all-sky camera image from web ( http://obstech.org/environment/latest_image.png) to a local computer folder?

Thanks in advance