I’m also having a problem with high/low temps and high/low wind speed, but only for the current day AND only for the current release of PWS Dashboard. Here are some links and details:
Primary implementation:
PWS_Dashboard template setup version PWSD_2004
Upgrade implementation:
PWS_Dashboard template setup (2012_lts)
I’m not sure where to pull the exact release version information from. To be clear: this is NOT an “upgrade” in the classic definition, but a parallel install to try to avoid any configuration issues.
Other than adding API keys, etc. to the Upgrade implementation (pwsWD.next link) I’ve only modified the _my_settings/languages.txt file to uncomment the en-us line. I haven’t configured NWS alerts, changed the first row layout, etc.
On the old/primary implementation the “Max-Min Temperature °F” and the “Max Wind | Gust - mph” blocks are correctly populated. In the new/upgrade implementation the “Max Wind | Gust - mph” and “Max-Min Temperature °F” have current month and current year data, but are missing current day.
I downloaded the current release a few hours ago and uploaded it in to a new directory on my hosting server (pwsWD.next/ vs. pwsWD/). This implementation only uses Ambient Weather API calls, no local clientraw.txt or other files.
The output from PWS_module_test.php for temp_c_small.php is:
Notice: Undefined index: winddir_avg2m in /home/ebon7ea8/public_html/pwsWD.next/PWS_livedata.php on line 346
Notice: Undefined index: windspdmph_avg10m in /home/ebon7ea8/public_html/pwsWD.next/PWS_livedata.php on line 461
Notice: Undefined index: winddir_avg10m in /home/ebon7ea8/public_html/pwsWD.next/PWS_livedata.php on line 477
Warning: date() expects parameter 2 to be int, string given in /home/ebon7ea8/public_html/pwsWD.next/temp_c_small.php on line 116
Warning: date() expects parameter 2 to be int, string given in /home/ebon7ea8/public_html/pwsWD.next/temp_c_small.php on line 118
The output from PWS_module_test.php for wind_c_small.php is:
Notice: Undefined index: winddir_avg2m in /home/ebon7ea8/public_html/pwsWD.next/PWS_livedata.php on line 346
Notice: Undefined index: windspdmph_avg10m in /home/ebon7ea8/public_html/pwsWD.next/PWS_livedata.php on line 461
Notice: Undefined index: winddir_avg10m in /home/ebon7ea8/public_html/pwsWD.next/PWS_livedata.php on line 477
Warning: date() expects parameter 2 to be int, string given in /home/ebon7ea8/public_html/pwsWD.next/wind_c_small.php on line 109
Warning: date() expects parameter 2 to be int, string given in /home/ebon7ea8/public_html/pwsWD.next/wind_c_small.php on line 111
Notice the same error (wind data) in testing both the temp and wind modules too…