astroufsc / chimera

Chimera - Observatory Automation System
http://chimera.sf.net/
GNU General Public License v2.0
36 stars 19 forks source link

[PROPOSAL] Create a chimera weather station instruments and script #82

Open wschoenell opened 9 years ago

wschoenell commented 9 years ago

This proposal is to finish the weather station instrument interface, incorporating it to provide metadata to the camera and the possibility to change operations according to the weather. The actual implementation can be seen at b4e2b312bf273fee55c0494cbf8e649dedea6973.

The changes mapped by are listed below. Feel free to add/comment on them.

def temperature(unit=degC):
    timestamp, temperature = self._query_temp()
    return temperature, time.time() - timestamp

This avoids the need to one implement some kind of complex database to store data making it available back in time. Also, if one checks the weather station say every 10 minutes, the date of the meteorological observation is retained.

Items 1 to 3 must be released on one PR

Item 4 must be released on another PR

wschoenell commented 9 years ago

Items 1 to 3 are being discussed on PR #96

wschoenell commented 9 years ago

1 to 3 fixed on #96.