AJAX Dashboard test page
If JavaScript is enabled, you should see dynamic updating conditions after the horizontal bar below.
You can see this demo page
With JavaScript disabled, the native PHP formatting of the conditions is shown, thanks to <noscript> inclusions in ajax2.php.
|
Updated: @
16-May-2012 9:05am - next update at 9:10am
|
| Summary / Temperature |
Wind |
Rain |
Outlook |
|
Mostly Sunny, Dry
|
|
58.4°F
Cool
Feels like:
58°F
24-hr difference
-2.3°F |
| |
Today |
Yesterday |
| High: |
58.4°F
9:03am |
74.4°F
2:12pm |
| Low: |
53.6°F
4:50am |
47.7°F
6:11am |
|
|
|
N
0.1
Gust:
0.0 mph
|
|
0 Bft -
Calm
|
|
Today:
5.0
3:11am
|
|
Gust Month: 18.0
May 14
|
|
| Rain Today: |
0.00 in
|
| Rain Rate (/hr): |
0.00 in
|
| Rain Yesterday: |
0.00 in
|
| Storm Rain: |
0.00 in |
| This Month: |
0.00 in
|
| Season Total: |
12.97 in
|
|
20 days since last rain. |
|
Tonight
 Partly Cloudy |
|
| Humidity & Barometer |
Almanac |
Moon |
| Humidity: |
76 %
|
| Dew Point: |
50.9°F
|
| Barometer: |
30.030 inHg
|
| Baro Trend: |
Steady
|
|
| Sunrise: |
5:58am |
| Sunset: |
8:10pm |
| Moonrise: |
3:24am |
| Moonset: |
4:29pm |
|
|
Waning Crescent |
|
16%
Illuminated
|
|
| UV Index |
Solar Radiation |
|
2.9
Low
|
|
High: 2.9 @ 9:03am
|
|
|
521 W/m2
(80 %)
|
|
High:
521 @
8:40am |
|
| NWS Weather Forecast - Today's and Tonight's Outlook |
Today
 Patchy Fog Hi 83 °F |
NWS forecast: Patchy fog before 11am. Otherwise, mostly cloudy early, then becoming sunny, with a high near 83. North northeast wind between 3 and 6 mph.
Davis VP+ forecast: Partly cloudy with little temp. change. |
| |
Tonight
 Partly Cloudy Lo 48 °F |
NWS forecast: Partly cloudy, with a low around 48. North wind around 6 mph becoming calm. |
|
Additional AJAX Dashboard information
This version incorporates 'green-flash' for conditions updated since last AJAX update.
This is version 2 of the AJAX/WD/PHP demo with NOAA icons, Wind-rose and Thermometer display.
Please note that the thermometer.php and thermometer-blank.png are required in the same directory as this page, and your customized copy of advforecast2.php is needed for the NOAA forecast conditions.
ajaxWDwx.js Version 2.09 includes several new AJAX variables:
- ajaxntime
- Sample '' hh:mm time of update in 24hr time
- ajaxntimess
- Sample '' hh:mm:ss time of update in 24hr time
- ajaxndate
- Sample '' Mon dd yyyy Date of update
- ajaxndate2
- Sample '' dd-Mon-yyyy Date of update
- ajaxdname
- Sample '' Weekday of update
- ajaxwindmaxgust
- Display maximum wind gust today (sample in dashboard).
- ajaxwindmaxgusttime
- Display time of maximum wind gust today (sample in dashboard).
- ajaxrainratemax
- Sample '' maximum rain rate for today.
- ajaxbeaufortnum
- Display Beaufort Number ( 0 .. 12) for current windspeed (sample in dashboard).