I finished the commuter info page and weather advisories page. The commuter page displays the Government operating status (a bigger deal in this area than you might think). It also displays traffic information that comes from a feed provided by traffic.com. I do a bit of parsing of that feed, as well as weeding out some of the information that doesn’t really affect traffic. Then I sort the results by the traffic jam factor in descending order. So bigger road blocks show up first in the list.
For the advisories page, I grab the latest advisories from the NWS, separate them into categories (watch, warning, advisory, statement…) and display them on the page. I also display any warnings on the main page in orange, with a link to the advisories page. I also moved over my links, webcam, and about pages. I need to revise the about page, as some of the specifics about the weather station have changed since I first wrote that page.
I finished the weather statistics and did some clean up on the page display. Some bugs may still surface, but it seems to be working fairly well so far. It was a fair bit of work to rewrite my Java code in PHP. It is getting easier as my PHP skills improve. This is the first time I have programmed anything in PHP, so I still have a lot to learn. The biggest stumbling block I have at the moment are my astronomical calculations. It took me months and a a fair amount of testing to get that right in Java. Not very anxious to repeat that in PHP. I may do some Google searching and see what existing PHP code I can turn up. Another option is to use the Java code to create an XML file with the results of the calculations in Java, and just use PHP to display them. More work than I would like, but a lot less than converting my Java calculations to PHP.
I still have the humidity and solar sensors waiting for me to finish repairing, along with the fan aspirated solar radiation shield. Then rewire the rain gauge for RJ45 rather than RJ11. I need to get cracking. The weather is getting colder, and I want to get the weather station back outside where it belongs.