Light curves of my weather simulator
by
, 08-16-2011 at 12:37 AM (1935 Views)
First day of vacations, not feeling well, spent most of the day either at the bathroom or sleeping.... at night I was feeling a little better, so I decided to work on the Arduino sketch, try to finalize v1.0 of it. Testing was still needed, so I proceeded with the test generating sample light curves for the various day types. By day type I mean "clear day", "cloudy day of various intensities", "thunderstorm day", each defined by an Okta number from 0 to 8.
Created charts using LibreOffice's X-Y chart plot, with X being time elapsed since start of day and Y being 0-100% of light intensity. Detected a bug with Okta 5 and 6 days, fixed it, and now everything seems to be working fine.
Enough talking, here are the charts:
The days with Thunderstorms (oktas 5, 6 and 8) would have random lightning flashes while inside the thunderstorm. That I might not implement in version 1.0 of the controller, will depend on time. Also I probably won't implement moonlight in version 1.0, but plan to do so later. Already found code online to define moon phase, will need to find some more defining when moonrise and moonset happens.
Snorkeler