Misadventure, repaired

Alert weather watchers (do you guys ever take a day off??!!!??) noted that the site went a little sideways yesterday. The main thermometer thought the high and low for the day was 32°F, the winds and other basic parameters were not right, and some of the supplementary pages failed to load or generated a pageful of errors. Hopefully, it’s working better today.
A junior web operator who shall remain nameless attempted to check the web sites’ configuration files into Git and instead loaded in the entire site, including dynamically updated data files and cached files. This means Git will pretty much always report the repository is out of date, and make cloning amd redeployment a serious hazard. In fixing the issue, the problem compounded: it turns out the “git rm” command does not remove the file from git as one might suspect, but instead OBLITERATES THE WORKING FOLDER OF PRODUCTION DATA and marks the file retained in (for historical purposes), but no longer active in the repository. Removing live data and cached files while the website is running had predictably disastrous results. Management has been notified and stern lectures delivered about diddling with the live production site without making three backups while clicking your heels together.
The management wishes to apologize to anyone who just wanted to know what the weather was outside. Yesterday, you would have had to go out IRL and look for yourselves; today, you can check on your phone again.

Updates to the website

Alert readers (I know you’re out there!) have noted that the Wunderground forecasts stopped updating recently. I had updated the API key provided to me by WU in exchange for posting my station’s data on their site. but I missed a portion of the update. The website continued onward, requesting updates from WU, logging the failed access, and republishing the out-of-date forecasts, I had no clue this was stuck, and I’ll look at finding a better way to monitor this. Currently, the script just logs errors into comments in the resulting web page, rather than writing out a log visible on the separate status /results page. I’ll see if I can patch this in.
While debugging this, I noted a couple of scripts were recently updated:
The Sun/Moon astronomy page has been updated with slicker graphics and a pretty neat graph showing moon and sun factoids (azimuths, elevation, zenith, etc.).