Hi Henkka, thanks ever so much, i love the update…
Not sure its working 100% for me though, in the top forecast theres sun and cloud but in the detailed forecasts its showing sunny all the time, also it appeasr that i have broken the metogram tab lol http://www.northantsweather.com/wxwxsimmulti.php
I have it working (I think) and waiting for a new forecast with adjusted wret.
I am using Saratoga temp. and would like to adjust the following :
Meteogram : How do I reduce the font of the “buttons” to make them fit better to the page with?
48-hr : The detailed 48-hr seems to be wider then overvie and detailed. Is it possible to reduce the width?
* All images must be in Img folder. (place UV2 images also in that folder. (Not img/UV2/ but also UV2 images in Img folder)
They should be in img/uv2/-folder
* Translation: I use this link with ?lang=nl at the end. Example : /sivu2?lang=nl
Yes, for testing are that end needed, in "normal use" are $lang variable needed for translaition
48-hr : The detailed 48-hr seems to be wider then overvie and detailed. Is it possible to reduce the width?
Problem you see are that the headers in the table do the table too wide, table itself are same wide as the rest. You have to shorten the names and/or remove some row(s).
Meteogram : How do I reduce the font of the "buttons" to make them fit better to the page with?
About the img folder; The UV images where in a different or seperate folder in the img folder.
I had to copy them from the UV folder in the img folder. Then it was working.
Hope you understand what I mean.
EDIT:thunder is now gone in forecast.
I missed in the icons at the top the thunder icon and also in the graph section.
Only in detailed forecast there were thunder icons.
wxall.functions.php, line 100 are this:
$iconcheck = wanewicon($prcond,0,$fogcond ,$pltscd,$cover,$btot);
change it to this:
$iconcheck = wanewicon($prcond,$fogcond,$pltscd,$cover,$btot);
Beautiful job as usual. I have mine working pretty well http://jcweather.us/wxsim3in1-2.php in imperial units by modifying the new wxall.css with the temp stuff from the old US version. That’s attached if you want to check it over and place it in the distribution.
I wonder, do we need one more $uoms array item for visibility on the Detailed 48 hrs tab?
Thanks for your help Henkka. Got everything working now exept for the wind scale in the meteogram.
Rigth now the scale stops at 25 kmh and the forecast is more then 35 kmh. Is it possible to adjust this?
Thanks Henkka for your fine script.
Have got some things to work but not all…
If you see on my page www.sm6kiw.se/weather/sivu2.php I’m missing all the icons above the graph and the Wind and also the Hour-by-Hour, Detaild 48hrs Meteogram and Grass & Soil.
Probably have i got some of the path wrong or something else.
Any suggestions to test ?
Rigth now the scale stops at 25 kmh and the forecast is more then 35 kmh. Is it possible to adjust this?
Humm...It *should* autoscale but seems not to do that (35 are default max for kmh), will do some tests there...
Probably have i got some of the path wrong or something else.
Any suggestions to test ?
That was strange…
For missing 2 days in topforecast, add 1 more day to wxsim to create forecast
It gets lastret.txt OK as graph has data so it is not a pathproblem at least there. But i see it miss the rain and wind-data so check the ticks in wret. (compare with wret.png in the zip) What do it also strange are that tables don’t have any data. What happens if you disable graph in tabs? ($showgraph = false;)
Autoscale of the graph fixed now
Changed file wxall.lastret.php
Also unit for visibility added in settings-file ($uoms-array), note tought, it do not calculate it so it shows visibility “as is” in lastret.txt.
When get any confirmation about if coneversation are needed for miles i will add it.
- For missing 2 days in topforecast, add 1 more day to wxsim to create forecast
- It gets lastret.txt OK as graph has data so it is not a pathproblem at least there. But i see it miss the rain and wind-data so check the ticks in wret. (compare with wret.png in the zip) What do it also strange are that tables don't have any data. What happens if you disable graph in tabs? ($showgraph = false;)
Added 1 more day to the forecast, compared with your wret.png and can’t find anything that differ.
Tested with $showgraph = false and $showgraph = true and can’t see any difference