mava,
try now (i reuploaded the zip)
Bo,
Humm…Its really strange, why it do that…Are created lastret.txt OK? Url to it, can take a look?
henkka
mava,
try now (i reuploaded the zip)
Bo,
Humm…Its really strange, why it do that…Are created lastret.txt OK? Url to it, can take a look?
henkka
Hm, still the same fixed scale at 25 km/h
Could it have something to do with my settings in wret? I am using km/h.
Changed wind speed to m/s and wait for the next forecast to see if that has any effect.
rgs
mava,
Now i see the issue, the script don’t get any windgustdata from your lastret. In your sourcecode are like this:
windgustdata: [[1317686400000,],[1317697200000,],[1317708000000,],
There should be a number after that comma.
Check you have this row in lastret: G1HR
henkka
That was pretty embarrasing… :oops:
Offcourse G1HR wasn’t ticked. Don’t know when that happened… #-o
Thanks for your help , all working perfectly
rgs
Another excellent piece of work from Henkka.
Thank you very much for the update, all working fine here in Duggleby …
http://www.dugglenet.org/wxsim
I have a slight problem with the alignment of the last day above the graph which I’ve not managed to solve yet (Monday in the attachment) … does anyone else see this ?
Kind Regards, Simon
mava,
Great we found the issue!
Bo,
what is the minutes in the times in lastret.txt?
if say xx:35, then in wxall.lastret.php, line 100 change this if($rawmin > 40) { to if($rawmin > 34) {
Simon,
That “Monday”-issue in the graph are because Flot likes to print the day soon as new day are present (00:00) and because text are centered are it is little off positioned at some forecastupdates. It will “reposition” itself in next forecast-update.
henkka
Thanks Henkka
How does the frost start/end work ?
I see it’s originally set at month 5 for start and 9 for end. We have frost from October - May here - would I represent that as 10 and 5 for start/end ? Apologies if it’s an obvious question but I am slightly confused by the original setting as surely frost doesn’t start in month 5 and end in month 9 anywhere in Europe ?
Thanks, Simon
Simon,
Will check that frost-thing.
Start 5 + end 9 means that its showed in the forecast only between May and September when occur. That was for us up here where frost during winter are not anything to show in a forecast
In official forecasts its mentonied also only during late spring-early fall here.
I think by setting it to start 0 + end 13 should result in frosts shown when occur all around the year in the forecasts, not 100% sure tought.
Henkka
what is the minutes in the times in lastret.txt? if say xx:35, then in wxall.lastret.php, line 100 change this if($rawmin > 40) { to if($rawmin > 34) {
I changed that, now everything shows up as it should!
Thanks Henkka
Hi!
Great script Hennka!
Trying it out but one thing I do not get to, there is no precipitation in metogram or in other tabs, just in overview.
http://regnskvett.com/sivu2-2.php
can not figure out what I’m doing wrong. Have seen in the settings in wret everything looks fine to me.
Henkka,
The visibility in lastret.txt is in miles when Fahrenheit is selected (small writing at the bottom of the wret main screen) so no conversion should be necessary. I made the change to
$uoms = array('
Hovering over the top icons sometimes give ‘undefined’ in the floating tips - I can see that others also have this problem too.
Does anyone know what’s causing it ?
Thanks, Simon
Torjan,
Check you have a row called PTOT in lastret.txt
Henkka
No, it seems to me I have only TOT.
What your version of WRET/WXSIM?
If old, then are alternative to update it.
Else (or if lazy) in wxall.lastret.php, line 61, change PTOT to TOT
Henkka
Henkka,
I got curious and found where you put $uoms[5] in wxall.lastret.php which is probably for the tool tip for the visibility items. I changed “km” to “mi” down in line 473 and that fixed it up in the table too which is where I had noticed it.
Thanks again. - Jim
Hi!
I did not know I was behind in the update on WXSIM.
It did the trick anyway.
Thanks Hennka!
In which file do I adjust that my wind numbers are placed inside the icons ?
If you see in http://www.sm6kiw.se/weather/sivu2.php they are now placed on the right side of the icons. :?
/Bo
Henkka,
It is looking very nice
Great update (as usual)
Bo,
You test page looks fine as long as you are not using compatibility mode in ie9
/Labbs
Bo/Labbs,
Yes, i test in IE without complicated mode
Torjan,
Great that fixed it
Henkka