Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.1.2 build 3055 - 4 November 2019.
Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

See the Wiki for downloading either version.

Converting Lux to W/m2

Discussion and questions about Cumulus weather station software version 1. This section and its subforums are the main place to get help with Cumulus. Anything which is not specific to the type of weather station goes in here; for anything specific to a type of weather station, please use the appropriate subforum. Use the 'website development' section for any questions relating to creating or running a web site for Cumulus data. Discussion of the stations themselves in these sections is fine.
Post Reply
User avatar
steve
Cumulus Author
Posts: 26717
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Converting Lux to W/m2

Post by steve » Sun 05 Dec 2010 1:02 pm

The new Fine Offset station that I'm trying to add support for (which is reasonably easy as it is similar to existing Fine Offset stations) supplies a 'light' reading in Lux. The code that I already have, for Davis stations, uses the W/m2 reading supplied by Davis stations to try to decide whether the sun is shining.

I'd like to avoid writing new code to handle Lux, so I want to convert to W/m2. From the reading I've done, I see that the conversion depends on the frequency of the light, but an often quoted figure is that the equivalent for green light at 555nm, at the centre of the spectrum, is 683 Lux = 1 W/m2 and apparently other frequencies are much lower in power.

What I would like to know is: can I use this 683 figure to do the conversion and get a reasonable result, or would the result be meaningless? Is there an expert in the house?
Steve

User avatar
mcrossley
Posts: 5730
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Stretch Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Converting Lux to W/m2

Post by mcrossley » Sun 05 Dec 2010 1:11 pm

As you probably know the relative 'strengths' of the wavelengths at the Earths surface varies as a function of the Suns elevation - hence Red Sun sets/rises. I have an algorithm somewhere for calculating the RGB centred wavelength values as a function of solar elevation. Also the detectors tend to much more responsive to blue light which is attenuated the most.

philcdav
Posts: 244
Joined: Tue 24 Jun 2008 9:43 pm
Weather Station: MyDEL WX2008 Mk2 Fine Offset
Operating System: XP and W7
Location: Maghull, nr Liverpool, UK
Contact:

Re: Converting Lux to W/m2

Post by philcdav » Sun 05 Dec 2010 7:10 pm

hi teve.

As u say, frequency specific @ 555 nm

685 Lux= 1W/m2
Phil - G0DOR

User avatar
steve
Cumulus Author
Posts: 26717
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Converting Lux to W/m2

Post by steve » Mon 06 Dec 2010 9:52 am

Thanks, chaps. So what do I need to do? Use the formula to work out the RGB components of the sunlight at a given time, then apply the Lux to W/M2 figure for each of those components to arrive at a total figure?
Steve

User avatar
captzero
Posts: 363
Joined: Wed 03 Mar 2010 10:20 am
Weather Station: Vantage Pro2 w/ daytime FARS
Operating System: Windows 10
Location: Brisbane, Australia
Contact:

Re: Converting Lux to W/m2

Post by captzero » Mon 06 Dec 2010 11:01 am

I saw this at: http://bccp.lbl.gov/Academy/workshop08/ ... re_Law.pdf

Converting Lux to W/m2
• There is no simple conversion….it depends on
the wavelength or color of the light.
• However, for the SUN, there is an approximate
conversion of 0.0079 W/m2 per Lux.
• Example: We read 75,000 Lux on our light
sensor. We can convert that reading to W/m2.
75,000 x 0.0079 = 590 W/m2


Not sure if its of any help

Cheers
Dan

http://www.brisbaneliveweather.com




A man with a thermometer always knows the temperature. A man with two thermometers, not so sure.

User avatar
steve
Cumulus Author
Posts: 26717
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Converting Lux to W/m2

Post by steve » Mon 06 Dec 2010 11:04 am

captzero wrote:• However, for the SUN, there is an approximate
conversion of 0.0079 W/m2 per Lux.
Thanks very much for that. If I can get away with just doing that, that would be be brilliant. As the Fine Offset sensors presumably aren't particularly accurate for the price - compare the whole station price with just the sensor price for the Davis - then it may not be worth doing anything more.
Steve

User avatar
mcrossley
Posts: 5730
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Stretch Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Converting Lux to W/m2

Post by mcrossley » Mon 06 Dec 2010 11:15 am

Agreed - maybe someone can do a comparison between the FO and Davis so the 'factor' can be tweaked if required.

avmourik
Posts: 4
Joined: Tue 04 Sep 2012 8:26 pm
Weather Station: Fine Offset
Operating System: Win 7
Location: Elst, Netherlands

Re: Converting Lux to W/m2

Post by avmourik » Sun 16 Sep 2012 9:28 pm

Hi all

The FO stations also have the possibility of iving a readout of W/m2. Low and behold it uses the 683lux per watt factor.
As you all know, this is only for a frequency of visible light. So the station will give you a much lower reading than when the 0.0079 calculation factor is used, which accounts for all the electromagnetic radiation in relation to the visible light.
The point is, what do you expect to read, is it the total power of the sun on the earths surface, or just the visble light?

Some investigative dismantling showed that the PCB layout has been substatially altered. Als the lightsensor has a green filter fitted under the dome.
Last edited by avmourik on Sat 22 Sep 2012 10:50 am, edited 1 time in total.

User avatar
steve
Cumulus Author
Posts: 26717
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Converting Lux to W/m2

Post by steve » Mon 17 Sep 2012 7:35 am

The Davis stations measure "global solar irradiance", and it's on that basis that the theoretical max value and sunshine hours are calculated in Cumulus. So the conversion factor is an attempt to get a similar figure from a Fine Offset; I realise this is going to very approximate as best, as they are probably measuring completely different things.
Steve

User avatar
Werk_AG
Posts: 184
Joined: Sun 13 Jan 2013 8:04 pm
Weather Station: WeatherDuino Pro2 PLUS
Operating System: Windows 7
Location: Cercal CDV - Portugal
Contact:

Re: Converting Lux to W/m2

Post by Werk_AG » Fri 15 Mar 2013 2:25 am

Hi

What formula was been adopted in Cumulus for Fine Offset stations conversion from Lux to W/m2 ?

685 Lux= 1W/m2 or 1 Lux = 0,0079 W/m2

Thanks
Do it Yourself - The freedom to use the weather instruments you want.

Image

User avatar
steve
Cumulus Author
Posts: 26717
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Converting Lux to W/m2

Post by steve » Fri 15 Mar 2013 7:21 am

Werk_AG wrote:What formula was been adopted in Cumulus for Fine Offset stations conversion from Lux to W/m2 ?
It multiplies the Lux value by 0.0079 to get a W/m2 value. This multiplier can be changed by adding a line to the [Solar] section of Cumulus.ini (with Cumulus stopped):

LuxToWM2=x

where 'x' is the value you want to use instead of 0.0079.
Steve

User avatar
Werk_AG
Posts: 184
Joined: Sun 13 Jan 2013 8:04 pm
Weather Station: WeatherDuino Pro2 PLUS
Operating System: Windows 7
Location: Cercal CDV - Portugal
Contact:

Re: Converting Lux to W/m2

Post by Werk_AG » Fri 15 Mar 2013 7:25 pm

Steve, many thanks for this info.

Regards
Do it Yourself - The freedom to use the weather instruments you want.

Image

Post Reply