Thanks Mark for your support!
Is it possible to slide down the group in the attachment or only temperature?
Thank you so much,
Alessandro
Thanks Mark for your support!
Is it possible to slide down the group in the attachment or only temperature?
Thank you so much,
Alessandro
You could add in some
after the current condition icon code, each one will move the next section down one line.
Scott
Scott,
I have a suggestion for “local” mods. Perhaps one section could be reserved for each user to make their own local additions. I do not have UV or solar sensors so those sections are blank. If there were a way to make the UV Index for example reserved for the user to change this might allow for more flexibility and ease of updating to future versions. See my screen attached.
Also, just above the NWS record/normal section you show the local high and low. Swapping the table around so the columns are “high” and “low” and the rows are “today” and “yesterday” makes more sense to me. That way it visually matches up with the layout of the NWS record/normals.
Thanks for listening to my 2 cents worth.
You can still use the UV forecast is there though Frank.
In the Settings.php file make sure that the following isn’t commented out:
$SITE['UVscript'] = 'get-UV-forecast-inc.php'; // worldwide forecast script for UV Index
// comment out above line to exclude UV forecast
In the ajax-dashboard.php make sure this one isn’t commented out:
$UVscript = 'get-UV-forecast-inc.php'; // worldwide forecast script for UV Index
// comment out above line to exclude UV forecast
Now create and new file with Notepad and call it uv-forecast.txt and upload that, as a blank file, to your website.
Finally, open the file called “get-UV-forecast-inc.php”, enter your latitude, longitude and time zone details where it asks for them, save & upload.
Then you should see the UV forecast for your area in the dashboard.
Is this issue a script problem? Can you please take a look?
http://discourse.weather-watch.com/p/328158
Budgie
thanks. I made the changes you suggested.
[PROBLEM RESOLVED] The cache finally loaded the forecast and it now works! Thanks
The UV Forecast still shows N/A. I uploaded the blank file uv-forecast.txt but is still blank. My other settings are
$myLat = ‘32.859498’; //North=positive, South=negative decimal degrees
$myLong = ‘-83.660087’; //East=positive, West=negative decimal degrees
$ourTZ = “America/New York”;
Thanks
Frank
Seems to be showing now, it takes a bit of time to do the update to the cache file.
Hi!
A curiosity.
Where the Fire Index catches the fire data?
Could i have the link, please?
Thanks,
Alessandro
You have to create a FWI file in WD. View> Fire Weather Index. There are more instructions on the forum as you have to enter the initial values first and you can get them from locally available values.
Hope this helps,
Jim
Hi
Can anybody help me?
How can I get this to show in “meters”:
Cheers
Steffen
Hmm, looks like I forgot to include an option for that. I’ll add it to the beta code tonight. In the mean time you could look up the tag for cloud height in meters and replace $cloudheightfeet with that and then add that tag to testtags.txt.
Scott
Ok
I have change it
[quote author=Herlev-DK link=topic=37938.msg341941#msg341941 date=1253025091]
Ok
I have change it
Thanks, but I found the problem in ajaxWDwx.js
Cheers
Steffen
Hi guys,
is it possible to align wxsim forecast icons in alternative dashboard?
Please, look at attachment.
Many thanks,
Alessandro
The code for the FWI in the Alternative Dashboard script lists the following:
switch ($firewi) {
case ($firewi == 0):
echo “<img src="${imagesDir}Fire0.jpg" alt="Fire Weather Index: LOW" />”;
break;
case (($firewi >= 0) and ($firewi < 7)):
echo “<img src="${imagesDir}Fire0.jpg" alt="Fire Weather Index: LOW"/>”;
break;
case (($firewi >= 7.1) and ($firewi < 16)):
echo “<img src="${imagesDir}Fire16.jpg" alt="Fire Weather Index: MODERATE"/>”;
break;
case (($firewi >= 16) and ($firewi < 25)):
echo “<img src="${imagesDir}Fire25.jpg" alt="Fire Weather Index: HIGH"/>”;
break;
case (($firewi >= 25) and ($firewi < 31)):
echo “<img src="${imagesDir}Fire31.jpg" alt="Fire Weather Index: VERY HIGH"/>”;
break;
case (($firewi > 31) ):
echo “<img src="${imagesDir}Fire32.jpg" alt="Fire Weather Index: EXTREME"/>”;
break;
} // end switch
What about values of 7 and 31?
I think those are fire free periods?? :roll: I didn’t write the code there, I’ll fix it on the beta tonight for release though. Thanks
Scott
Murry, those levels were probably changed by someone to adapt to their local standards. I learned the hard way when my site was showing a low for a value of only 6 or7, when the local authority was calling the same value Moderate, so it does make a difference and could be a liability to a site operator unless disclaimed on the site as well as in sync with the local authority’s standards. So the default values in WD would have got me in trouble here.
Here it is low to only 2, then Moderate to 9 then High to 22, and extreme above that.
Best case is to call your local/state Fire authorities to ascertain what standards if any, \ they apply to the FWI if they use it (re color coding and/or levels of warning by number. I was clearly warned by my folks that adherence to their classifications was a requirement when publishing my index. Of course each jurisdiction will have rules governing them and some will have no rules. It’s different even between some provinces here I believe.
Others won’t even care lol.
Jim
I think part of the WD Solar sensor problem w/ updating the template icons is the fact that, in the parser, mostly cloudy (icon3) conflicts w/ the ajax-dashboard.php which, points to sct.jpg
$iconList = array(
"skc.jpg", // 0 imagesunny.visible
"nskc.jpg", // 1 imageclearnight.visible
"bkn.jpg", // 2 imagecloudy.visible
"sct.jpg", // 3 imagecloudy2.visible
I use alt dashbrd. I copied the cloudy.jpg from \forecast to the \ajax-images and I changed sct.jpg above to reference cloudy.jpg. However, when first loading the pg, the cloudy.jpg icon is visible, then ajax updates the icon to the incorrect sct.jpg. The text condition shows correct-mostly cloudy.
x-posted
Have to update ajaxWDwx.js
function ajax_wxIconJPG ( iconWD ) {
// perform a lookup and return the graphic for the condition icon (using NWS icons)
$iconList = new Array(
"skc.jpg", // 0 imagesunny.visible
"nskc.jpg", // 1 imageclearnight.visible
"bkn.jpg", // 2 imagecloudy.visible
"cloudy.jpg", // 3 imagecloudy2.visible
the same if using .gif