I’m trying to use the alternative dashboard for my website. Currently I’m setting it up and translating it to Dutch. I want to use the WUnderground Almanac to show the record max and min temperatures. I’ve set things up in WD (View/Wunderground Station Almanac) but I see that the temperatures are showing up in recalculated fahrenheit instead the right celsius in my testtags.php
$WUmaxtemp = '-6.0'; // Todays average max temperature from the selected Wunderground almanac station
$WUmintemp = '-11.0'; // Todays average min temperature from the selected Wunderground almanac station
//
$WUmaxtempr = '0.0'; // Todays record max temperature from the selected Wunderground almanac station
$WUmintempr = '-12.0'; // Todays record min temperature from the selected Wunderground almanac station
As you can see the WUmaxtempr shows 0.0 for today. That is 32 fahrenheit recalculated to 0 celsius. But the real record should be 32C (as its summer)and 89.6F. Same for WUmintempr, WUmaxtemp en WUmintemp.
WD is set to Celsius (under units/other settings → temperature = in C). The Wunderground Station page shows the wrong information i.e. record Max = 32 (0C), should be 89.6 (32c)
No, in WD you can select other countries (in View/Wunderground Almanac) too . I choose The Netherlands and station 06330 = Hoek van Holland. Maybe thats the problem (as you think that WU Almanac is only for USA cities)? USA is in fahrenheit and Europe in Celcius. Could that be solved some how?
Otherwise i could change some php-coding on my website and multiply the WU-numbers by 9/5 + 32
interesting
wunderground must have recently added countries outside of the USA for record temperatures
but the record data is given as C and F
I will have to change WD to check for that
Just downloaded and copied the contents of this file (Weather Display zip of the main .exe file, new compiler version v10.37Q Build 61 ) to my c:\wdisplay-folder and noticed a change in WU Almanac view (Views Panel/WU Almanac), only Fahrenheit is shown (no more Celsius between brackets).
The only problem is that the values showed in Fahrenheit should actualy be values in Celsius.
Looking at the Almanac in WD i get the following values
Maximum Temperature (normal): 22 F → should be either 22 C or 71.6 F
Minimum Temperature (normal): 13 F → should be either 13 C or 55.4 F
Maximum Temperature (record): 30 F → should be either 30 C or 86 F
Minimum Temperature (record): 8 F → should be either 8 C or 46.4 F
My testtags.php gives me the followowing values:
$WUmaxtemp = ‘-6.0’; // Todays average max temperature from the selected Wunderground almanac station
$WUmintemp = ‘-11.0’; // Todays average min temperature from the selected Wunderground almanac station
//
$WUmaxtempr = ‘-1.0’; // Todays record max temperature from the selected Wunderground almanac station
$WUmintempr = ‘-13.0’; // Todays record min temperature from the selected Wunderground almanac station
$WUmaxtempryr = ‘2003’; // Year that it occured
$WUmintempryr = ‘2005’; // year that it occured
As you can see thats the fahrenheit values from the Almanac View converted to Celsius.
I’ve got it. The new zip is working properly. ONLY thing you need to do is reselect the state/country and station in Almanac View and press the 2 remember-buttons.
It’s working fine now. See here: http://westlandsweer.nl (some translation of the script and settings still need to be done)
Hmm, something new this morning. I noticed that in WD’s Almanac View the temperatures are back to Fahrenheit. Needed to select the station manually again to get things working properly in Celsius. Brian could you please look into this?