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.).


“It’s Another Yankee Forecast” – wazzatmean?

“It’s Another Yankee Forecast” was a handy and memorable name for a site I’ve owned for many years, and adapted to my latest hobby of weather observation. It refers to the old chestnut, “if you don’t like New England weather, just wait a minute” which was coined by … Mark Twain? Unlikely. Will Rogers? Nyah-uh. Like Yogi Berra, who may or may not have said, “I never said half the things I said,” the quote is attributed to many places and authors, but most likely should be credited to “Anon.” The great site, Quote Investigator has an indepth article here: “If You Don’t Like Our Weather, Just Wait a Few Minutes.”

I enjoyed the article’s citation of a Mark Twain speech he actually did make, which included a couple of great quotes, like:

There is a sumptuous variety about the New England weather that compels the stranger’s admiration—and regret.

and:

Yes, one of the brightest gems in the New England weather is the dazzling uncertainty of it.

The fun of New England weather is to grab a light jacket and sunglasses to walk the dog, only to be hit with a blizzard whiteout halfway home, or bundling up on a blustery fall day only to be ripping off layers in the tropical heat minutes later.

ChatGPT can imitate that weather person you can’t stand

64.2°F, 99% RH, overcast and raining, no wind, barometer 29.824 inHg

Prompted with the data and the request to report it like a friendly weather report, Chat GPT responded with this:

Well, hello there, folks! It’s your friendly weather reporter here, bringing you the latest scoop on what’s happening outside. So, grab your umbrellas and raincoats because it’s a bit damp out there!

Currently, the temperature is a comfortable 64.2 degrees Fahrenheit, making it just right for those who enjoy a mild climate. But don’t forget, it’s feeling quite humid with a relative humidity of 99%. That’s a whole lot of moisture in the air, so you might want to keep a cool drink handy to stay refreshed.

Now, as you glance out your windows, you’ll notice that the skies are dressed in a cozy overcast blanket. Those clouds are working hard to keep that sunshine at bay, so you might want to postpone any sunbathing plans for now.

But wait, there’s more! The heavens have opened up, and we’ve got some gentle rain making its way down. It’s the kind of rain that’s perfect for a cozy day indoors with a good book or a hot cup of cocoa. No need to worry about strong winds today – the air is still and calm, giving you a peaceful and serene atmosphere.

And for those of you who like to keep an eye on the pressure, the barometer is reading a steady 29.824 inches of mercury. So, it looks like our weather pattern is holding steady for the moment.

Remember, folks, a little rain never hurt anyone! So, grab your rain gear, find a cozy spot, and enjoy the soothing sounds of nature’s orchestra. That’s all from me, your friendly weather reporter. Stay dry and have a wonderful day!”

I think I’ll stick with just the facts. Or, I might just find a cozy spot, grab my umbrella, a cool drink, a good book and a hot cup of coffee and enjoy my day!

Technical Difficulties

Due to operator error (that’s me!), the weather page was wrong from around 730 pm EST last night until 6:20 am EST this morning. The site generator was inadvertently set to “Simulator” mode. We regret the error.

Cleaned WH41 PM 2.5 sensor

Ecowitt WH41 PM 2.5 detector dropped out in August

When reviewing my annual logs, I noticed the PM 2.5 detector, an Ecowitt WH41 model, dropped off in readings in August, and was pretty consistently low for the rest of the year. I visited the WxForum and found an article suggesting that the air chamber could be clogged and needed regular clearing. Sure enough, I took the device apart and found debris in side, and what might have been a thin leaf stem stuck in the fan. Cleaned and blown out, the device returned to service, readings immediately started to show more interesting behavior. Hope that fixes it!

Post-repair. NOTE: Not to the same scale as the graph above!