Short-bus / pilomar

RaspberryPi based miniature observatory
https://shortbus.blog/
GNU General Public License v3.0
64 stars 14 forks source link

Metcheck handler can be simplified #14

Closed Short-bus closed 10 months ago

Short-bus commented 1 year ago

Metcheck handler has two separate ways to retrieve data from the json responses received. The original cache of the json data is more complex to refer to. The later matrix array of times vs measurements is simpler to handle. Convert the handler to work with just the matrix array in future. This may further simplify into a Pandas dataframe at somepoint.

Short-bus commented 1 year ago

Converted the class so that all data references now use the matrix array of times vs measurements. Cleans up the logic nicely too. Matrix solution makes it easier to add extra measurements or calculations to the available data such as 'fogRisk'.

Short-bus commented 10 months ago

While planning for the next version of pilomar to go into here I've decided to pull the metcheck module out of the basic pilomar version because it's a diversion from the primary task of the project to demonstrate the telescope. The module will remain in the separate development copy (pilomar2). This pilomar repository should really just concentrate upon the basic handling of the telescope otherwise it becomes a very complex collection of multiple projects which will make it hard to understand.

Short-bus commented 10 months ago

Metcheck feature removed from this basic pi-lomar application. It's now only in the pi-lomar2 application. This pi-lomar is a simplified version that focuses on the telescope operation.

Short-bus commented 10 months ago

Closed as nolonger part of this application version.