Your Local New Zealand Weather Community Network Online
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
New Zealand's Weather Network Member Web Sites.
Home
Forum
Help
Search
Live NZ Map
Station Data
Gallery
Search
Stats
Blog
Contact
Login
Register
New Zealand Local Weather Forum
»
Weather Discussion
»
Hardware Software and Technology
»
Weather Display
»
Sunny at Night!!!
« Webtags for Weather Display
|
Setting up Latitude & Longitude in WD »
Print
Pages: [
1
]
Go Down
Author
Topic: Sunny at Night!!! (Read 6783 times)
JennyLeez
Administrator
Hero Member
Posts: 10086
Country:
Karma: 654
Gender:
Wairoa
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
Tweet
Logged
Living in Wairoa, Northern Hawkes Bay
Website:
wairoa.net/weather
TokWW
Grim
Global Moderator
Hero Member
Posts: 1579
Country:
Karma: 196
Gender:
Another Engineer
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.
Logged
Graeme
http://www.inmanavenue.com/webcam.html
David
Hero Member
Posts: 1403
Karma: 299
Gender:
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.
Logged
TokWW
Grim
Global Moderator
Hero Member
Posts: 1579
Country:
Karma: 196
Gender:
Another Engineer
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.
Logged
JennyLeez
Administrator
Hero Member
Posts: 10086
Country:
Karma: 654
Gender:
Wairoa
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.
Logged
TokWW
Grim
Global Moderator
Hero Member
Posts: 1579
Country:
Karma: 196
Gender:
Another Engineer
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
Logged
David
Hero Member
Posts: 1403
Karma: 299
Gender:
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...
Logged
Tony
Financial Supporter
Sr. Member
Posts: 414
Karma: 183
Gender:
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
Logged
JennyLeez
Administrator
Hero Member
Posts: 10086
Country:
Karma: 654
Gender:
Wairoa
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
Logged
TokWW
Grim
Global Moderator
Hero Member
Posts: 1579
Country:
Karma: 196
Gender:
Another Engineer
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.
Logged
ato2
Financial Supporter
Hero Member
Posts: 1503
Country:
Karma: 168
Gender:
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"......
Logged
"Send more beer!"
[found in a report to HQ, from a Officer stationed in some outpost in Roman Britain]
saratogaWX
Newbie
Posts: 9
Karma: 2
Gender:
Weather website programming enthusiast
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)
Logged
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
Deano
Financial Supporter
Hero Member
Posts: 1330
Country:
Karma: 459
Gender:
Station: DavisVP2
Re: Sunny at Night!!!
«
Reply #12 on:
April 12, 2012, 05:25:56 PM »
Thank you Ken.
Logged
Weather Display 10.37s
Saratoga Template V3
Davis VP2
TokWW
Grim
Global Moderator
Hero Member
Posts: 1579
Country:
Karma: 196
Gender:
Another Engineer
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
»
Logged
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.
Logged
Waipukurau, Hawkes Bay.
http://clad.co.nz/flash-weather
Print
Pages: [
1
]
Go Up
« Webtags for Weather Display
|
Setting up Latitude & Longitude in WD »
New Zealand Local Weather Forum
»
Weather Discussion
»
Hardware Software and Technology
»
Weather Display
»
Sunny at Night!!!
Share Topic
Similar Topics
Not all Highs bring sunny weather - MetService
Started by
TokWW
6 Replies
6610 Views
April 20, 2012, 10:39:05 AM
by
TokWW
Forecast Friday 22nd June 2018 - Mostly Sunny
Started by
NZLW
0 Replies
5039 Views
June 21, 2018, 09:59:14 PM
by
NZLW
Forecast Saturday 23rd June 2018 - Mostly Sunny
Started by
NZLW
0 Replies
4845 Views
June 22, 2018, 08:48:24 PM
by
NZLW
Forecast Friday 13th July 2018 - Mainly Sunny
Started by
NZLW
0 Replies
3149 Views
July 12, 2018, 06:41:15 PM
by
NZLW
Forecast Thursday 28th June 2018 - Mainly Sunny
Started by
NZLW
0 Replies
4590 Views
June 27, 2018, 07:10:42 PM
by
NZLW
New Zealand's Weather Network Member Web Sites.