Author Topic: Sunny at Night!!!  (Read 6783 times)

Offline JennyLeez

  • Administrator
  • Hero Member
  • *****
  • Posts: 10086
  • Country: nz
  • Karma: 654
  • Gender: Female
  • Wairoa
    • Wairoa, Hawkes Bay Weather
  • Station: WS3085
Sunny at Night!!!
« 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


Living in Wairoa, Northern Hawkes Bay
Website: wairoa.net/weather

Offline TokWW

  • Grim
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1579
  • Country: 00
  • Karma: 196
  • Gender: Male
  • Another Engineer
    • Tokoroa North Weather
Re: Sunny at Night!!!
« Reply #1 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.

Offline David

  • Hero Member
  • *****
  • Posts: 1403
  • Karma: 299
  • Gender: Male
    • Howick Weather Station
Re: Sunny at Night!!!
« Reply #2 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.

Offline TokWW

  • Grim
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1579
  • Country: 00
  • Karma: 196
  • Gender: Male
  • Another Engineer
    • Tokoroa North Weather
Re: Sunny at Night!!!
« Reply #3 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.

Offline JennyLeez

  • Administrator
  • Hero Member
  • *****
  • Posts: 10086
  • Country: nz
  • Karma: 654
  • Gender: Female
  • Wairoa
    • Wairoa, Hawkes Bay Weather
  • Station: WS3085
Re: Sunny at Night!!!
« Reply #4 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.

Offline TokWW

  • Grim
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1579
  • Country: 00
  • Karma: 196
  • Gender: Male
  • Another Engineer
    • Tokoroa North Weather
Re: Sunny at Night!!!
« Reply #5 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

Offline David

  • Hero Member
  • *****
  • Posts: 1403
  • Karma: 299
  • Gender: Male
    • Howick Weather Station
Re: Sunny at Night!!!
« Reply #6 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...

Offline Tony

  • Financial Supporter
  • Sr. Member
  • *****
  • Posts: 414
  • Karma: 183
  • Gender: Male
Re: Sunny at Night!!!
« Reply #7 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  ;)

Offline JennyLeez

  • Administrator
  • Hero Member
  • *****
  • Posts: 10086
  • Country: nz
  • Karma: 654
  • Gender: Female
  • Wairoa
    • Wairoa, Hawkes Bay Weather
  • Station: WS3085
Re: Sunny at Night!!!
« Reply #8 on: April 12, 2012, 03:00:13 PM »
ah now that a thought. Thank you Tony will suggest that :)

Offline TokWW

  • Grim
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1579
  • Country: 00
  • Karma: 196
  • Gender: Male
  • Another Engineer
    • Tokoroa North Weather
Re: Sunny at Night!!!
« Reply #9 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.

Offline ato2

  • Financial Supporter
  • Hero Member
  • *****
  • Posts: 1503
  • Country: nz
  • Karma: 168
  • Gender: Male
Re: Sunny at Night!!!
« Reply #10 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"......
"Send more beer!"
[found in a report to HQ, from a Officer stationed in some outpost in Roman Britain]

Offline saratogaWX

  • Newbie
  • *
  • Posts: 9
  • Karma: 2
  • Gender: Male
  • Weather website programming enthusiast
    • Saratoga-Weather.org
Re: Sunny at Night!!!
« Reply #11 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)
Ken True/Saratoga, CA, USA
Davis Vantage Pro Plus - FARS, Boltek-PCI/NexStorm, GRLevel3, WD, WL, VWS, Cumulus, Meteohub
Free weather PHP scripts/website templates

Offline Deano

  • Financial Supporter
  • Hero Member
  • *****
  • Posts: 1330
  • Country: nz
  • Karma: 459
  • Gender: Male
    • Kaipara Weather
  • Station: DavisVP2
Re: Sunny at Night!!!
« Reply #12 on: April 12, 2012, 05:25:56 PM »
Thank you Ken.
Weather Display 10.37s
Saratoga Template V3
Davis VP2

Offline TokWW

  • Grim
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1579
  • Country: 00
  • Karma: 196
  • Gender: Male
  • Another Engineer
    • Tokoroa North Weather
Re: Sunny at Night!!!
« Reply #13 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...
« Last Edit: April 12, 2012, 05:31:21 PM by TokWW »

Offline thrashcardiom

  • Newbie
  • *
  • Posts: 2
  • Karma: 1
Re: Sunny at Night!!!
« Reply #14 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. 
Waipukurau, Hawkes Bay.
http://clad.co.nz/flash-weather


Share via twitter

sad
Not all Highs bring sunny weather - MetService

Started by TokWW

6 Replies
6610 Views
Last post April 20, 2012, 10:39:05 AM
by TokWW
smiley
Forecast Friday 22nd June 2018 - Mostly Sunny

Started by NZLW

0 Replies
5039 Views
Last post June 21, 2018, 09:59:14 PM
by NZLW
thumbup
Forecast Saturday 23rd June 2018 - Mostly Sunny

Started by NZLW

0 Replies
4845 Views
Last post June 22, 2018, 08:48:24 PM
by NZLW
xx
Forecast Friday 13th July 2018 - Mainly Sunny

Started by NZLW

0 Replies
3149 Views
Last post July 12, 2018, 06:41:15 PM
by NZLW
smiley
Forecast Thursday 28th June 2018 - Mainly Sunny

Started by NZLW

0 Replies
4590 Views
Last post June 27, 2018, 07:10:42 PM
by NZLW