New Zealand Local Weather Forum

Weather Discussion => Hardware Software and Technology => Weather Display => Topic started by: JennyLeez on April 09, 2012, 10:47:37 PM

Title: Sunny at Night!!!
Post by: JennyLeez on April 09, 2012, 10:47:37 PM
On the map a couple of the WD stations are showing the sun conditions icon instead of the night/stars icon.

What needs to be changed to fix this please.
Thanks
JL
Title: Re: Sunny at Night!!!
Post by: TokWW on April 09, 2012, 11:20:21 PM
Dannevirke and West Auckland.  I can't find either of their clientraw.  Need to see that to see what is wrong. Can you share the paths please? Perhaps a pm would be better.
Title: Re: Sunny at Night!!!
Post by: David on April 11, 2012, 05:29:33 PM
I don't know if this is still happening, but on the 'other' NZWN map, my icon was always a night time one in the day and a day time one at night. It was because my station can't provide a description of the current weather and so it uses the NZAA metar instead.
Title: Re: Sunny at Night!!!
Post by: TokWW on April 11, 2012, 06:13:52 PM
Read your clientraw.txt file if using WD and see if the Lat Lon at end of file says -175.+++  ie minus.  The script may work out nighttime icons through the Longtitude.
Title: Re: Sunny at Night!!!
Post by: JennyLeez on April 12, 2012, 01:35:08 PM
Thank you Toko.
Ok I explored that idea but both longitude and latitude do have the negative sign in front.
The day time conditions icon is correct.
But the night time conditions icon still shows the day time icon.
So they have not swapped as so to speak. The station just does not appear to know it is dark outside :)

Any further ideas please.
Title: Re: Sunny at Night!!!
Post by: TokWW on April 12, 2012, 02:24:02 PM
I have seen this before even amongst our own four stations here in Tokoroa and was sure they were all setup correctly for Lon/Lat and time etc.  I may ask Ken to see if he has an answer and direct him to the thread... :)

Cheers
Title: Re: Sunny at Night!!!
Post by: David on April 12, 2012, 02:39:38 PM

Thanks Graeme but the only real time file I upload is realtime.txt from Cumulus ;)
Anyway I notice there is no weather icon for Howick on the Live map at the moment...
Title: Re: Sunny at Night!!!
Post by: Tony on April 12, 2012, 02:56:24 PM
For what it's worth, and not using WD

My site was showing the day/night icons incorrectly on the map, i managed to change it by switching my weather software to 24 hour time rather than the AM/PM it was using.

Probably no help whatsoever, just thought I'd mention it  ;)
Title: Re: Sunny at Night!!!
Post by: JennyLeez on April 12, 2012, 03:00:13 PM
ah now that a thought. Thank you Tony will suggest that :)
Title: Re: Sunny at Night!!!
Post by: TokWW on April 12, 2012, 03:05:55 PM
Thanks Tony, that may very well be the answer.

And I know that sunrise and sunset are in some of the weather data files, not sure which software(s) though.
Title: Re: Sunny at Night!!!
Post by: ato2 on April 12, 2012, 03:50:06 PM
I remember that I had exactly the same problem as David, when we were back on that "other site"......
Title: Re: Sunny at Night!!!
Post by: saratogaWX on April 12, 2012, 04:03:24 PM
While it is true that if the longitude is incorrectly set in Weather-Display, the day/night cycle will be reversed, but the most common cause of a 'sunny' icon appearing for stations using clientraw.txt for reporting is the lack of a nearby METAR to set sky conditions in the WD setup.

If iconnumber=5 is the normal display, that 'sunny' icon simply means 'Dry', and that is the text used in clientraw.txt to describe the weather condition (as opposed to 'Light Rain' etc.)  The same 'Dry' icon (number 5) is used for both day and night by WD.

For Weather-Display stations showing this symptom, I suggest that a setup like that shown in
http://saratoga-weather.org/wxtemplates/setup-WD.php be used to avoid the default 'sunny' (icon 5) display.

For software other than Weather-Display, the sky-condition is normally fetched from a nearby METAR and used for the icon on the map.  If no nearby METAR is configured in the map config file, then no icon will be displayed.

Hope this helps ...

Best regards,
Ken  (author of the mesomap software)
Title: Re: Sunny at Night!!!
Post by: Deano on April 12, 2012, 05:25:56 PM
Thank you Ken.
Title: Re: Sunny at Night!!!
Post by: TokWW on April 12, 2012, 05:28:40 PM
Thanks Ken - that sort of explains some things - as I have a night time cloud sensor (very few will and there are only three airport metars in NZ : Akld, WGTN, CHCH I think) so I can give a sky condition but many can't.  It still does say nighttime - ie the moon icon if clear sky - I guess. I will have to watch for what is shown partly cloudy or cloudy...
Title: Re: Sunny at Night!!!
Post by: thrashcardiom on April 17, 2012, 05:01:48 AM
I use the console version of Weather Display along with the Flash based Weather Display Live.   As pointed out above, the sun icon simply is there to show the current weather is dry.  It has nothing to do with the time. 

As I use the console version of WD I cannot change any settings as per the Saratoga page.