Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Lux value incorrect (?) #1

Open
raptile opened this issue Nov 16, 2018 · 1 comment
Open

BUG: Lux value incorrect (?) #1

raptile opened this issue Nov 16, 2018 · 1 comment
Assignees

Comments

@raptile
Copy link

raptile commented Nov 16, 2018

Currently it is quite cloudy in holland and the lux value is "11300" .
A friend of mine has a meter and that one indicates that the value is "1266 Lux"
I think there is an extra "0" added to the actual calculated Lux value.
Could that be possible?

@oredin
Copy link
Collaborator

oredin commented Nov 16, 2018

Hi,

I've checked the script. So far, it seems to me that the translation from okta to cloud coverage in percent seems good in the script.

I've looked further into the notion of okta (sky nebulosity) and cloud coverage from the intial article on domotique-info.fr. From what I've read, the two notions aren't the same things and can differ. That's why the initial contributor (Sebastien Joly) used the okta for his algorithm. The problem seems to be getting a real sky nebulosity value from a web API.

After checking the value from the nearest station on Ogimet (which was the source used to get the okta value before my changes), there is a difference.
DarkSky tells me i've got a 67% for cloud cover when Ogimet give me an okta of 9 (Sky obscured by fog and/or other meteorological phenomena) !

So, the problem isn't the calculation but the value used to do it.

I'll be looking for another source for a better okta value.

@oredin oredin self-assigned this Nov 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants