MODESTO Percent of Normal Rainfall
Speaking of rain, I checked out the forecast for California for the upcoming week, and it doesn't look so good. Dry weather as far as the eye can see for most of the state. That 2014 percent of normal number is going to keep falling.
A recap of how this project works
- Ubuntu server running as a virtual machine under Win7 using the free VMWare Player.
- PHP script running as a root cron job at 1230 every day, harvesting data by scraping this page using the simple_html_dom PHP library.
- MySQL database with two tables, city name and percent of normal, data injected from the aforementioned PHP scraper script.
- PHP scripting on a local Dreamweaver site running on the aforementioned Ubuntu virtual server to extract the data from the database and format it as a table.