Blog

2024 Air Quality Index (AQI) Update

2024 AQI Revisions
Image courtesy of IQAir

On May 6th the U.S. Environmental Protection Agency rolled out a change to the Air Quality Index (see table above). We didn’t receive notification of this until yesterday. These modifications are now live on the website — both in current conditions and in the weather history tables effective July 19, 2024.

Keep in mind, we apply an EPA correction factor to the AQI reading. If you visit other air quality websites or apps, the readings may seem incorrect if, by default, they report raw AQI. The most accurate way to compare our sensor readings to others nearby is to visit https://fire.airnow.gov/. Click the search icon, type in “Marquette, MI” and hit enter.

Why do we correct the AQI? Because researchers at the EPA discovered that by applying an algorithm to our “low-cost” (~$400) PurpleAir sensor its readings better approximate the higher-cost, more accurate government sensor readings. Experiments were conducted within the context of wildfire smoke pollution — the thing people are most concerned about here.

It Ain’t Broke If You Don’t Know

My apologies to those who endured stale data on the home page almanac & weather history page on Friday & Saturday. The app that uploads data from our weather telemetry to the website (hosted downstate) had inexplicably stopped. It wasn’t locked up. It just wasn’t running the schedule. I could manually update, but not automatically. A restart of the app solved the issue. I’ve used that utility for years now and never seen anything like that. My thanks to a regular site visitor, Julie, who alerted me and sent me a kind note to boot! Please do not hesitate to use the contact form if you notice something is awry.

Fortunately, I have multiple, independent systems so when one fails, the others continue. For example, conditions data is uploaded every 3 seconds by two different apps. Forecasts are downloaded directly by the web server (and I can switch to a back up process when the provider is down). Even if we lose power at our property, the forecasts and alerts will continue to update indefinitely.

I am constantly checking for and fixing bugs — both in my own code and those generated by our various providers. Between our regular visitors, my wife and my own (normally) keen eye no error on the site goes undetected for long.

Earlier in the week you may have noticed missing forecast icons. That was due to a couple unpublished changes NOAA (parent organization to the National Weather Service) pushed out to their forecast API. Upon investigation I saw that they had started to omit the domain (!) from the image URLs. So I had to prepend the domain to all their file locations. Also they started sending an empty data field for wind direction when the speed is 0. If you know anything about programming, the first error routine is to check for empty data and reject it because all valid data must have a value. Not in this case! So I manually force a “N” (northerly) wind direction which was the default they had been supplying in that case for years. Once I realized this wasn’t just a temporary goof on NOAA’s part (which has happened multiple times and self corrects within an hour or so), I ultimately switched over to a “legacy” source for forecast data for a time until I could make updates to the affected forecast files.

My philosophy is that the user interface — the portion of the website the visitor sees and interacts with — should be simple & dependable not trendy. No infinitely scrolling pages which stutter and lock up while you search for the information you need! No bloated multi-megabyte pages that track you and interrupt you with pop ups while you’re trying to read.

Behind the scenes of this seemingly modest (perhaps even “old-fashioned”) website are tens of thousands of lines of code written by yours truly. The weather history page alone is a complex series of mathematical calculations (using standard equations that have been accepted for decades). Everything has been quadruple checked for accuracy against other sources.

We are about to step into our 10th year of recording data just south of downtown Marquette. The aim is to provide a long-term, independent, reliable source of weather data completely free and available to the public.

Thank you to our many regular (and irregular — you know who you are) visitors!

Expanded Hourly Forecast Now Available

The graphical hourly forecast on the CITY page now looks ahead 48 hours (previously only 24 hours). This should be particularly helpful during long-lasting storm events.

Accuracy beyond 72 hours is lacking in hourly forecasts. 48 hours seems to be the sweet spot now in terms of accuracy and usability. Beyond that, one is forced to scroll through endless tiles looking at information that is going to change significantly in the next 12-24 hours.

The hourly (yellow) & daily (light blue) forecasts are scrollable on mobile devices, trackpads, and mice. On touchscreens, just swiping left will allow you to scroll into the future. On Mac trackpads — same thing — use 2 fingers and swipe left over forecast icons. On PCs and desktop Macs, you need to position the cursor over the forecast tiles and then hit shift and use the mousewheel (scroll up to go forward in time and down to go backward). You can also navigate using a keyboard by pressing tab, then return/enter (to skip the navigation and go straight to the content area), and then press tab repeatedly until it highlights the hourly forecast area. Then you can use the directional arrows.

The End of Snowfall Measurements

When things get bad (2019)

Sadly, we won’t be providing snowfall measurements any longer. It has proven too difficult on our urban property to keep the plowed & drifted snowfall separate from the measurement area. We tried our best to overcome siting issues with multiple boards and locations. Too often, however, particularly during wind-driven storm events, the measurements turn into guesses. We need more open space.

Consider also the practical challenges that twice-daily measurements present in the winter. The observer (me) better not be sick or traveling.

Ultimately, the cost was too great while the benefit — long-term data on snowfall in the city — could not be realized.

I figured it’s best to pull the plug on it at the end of the calendar year.

We started measuring snowfall in the fall of 2017 and have 6 complete years (2018-2023) of weather history data. Detailed snow measurement reports for Fall 2019 – early Winter 2023 can be found in our Snow Measurement Archives.

I will still be providing daily liquid precipitation measurements year round for our weather history records. In the winter this involves melting snow to its liquid equivalent amount.

Alternatively, you can always view official snow observations for the city by visiting NOAA NOWData and selecting “Marquette, MI” as the “Location”, “Daily data for a month” as the “Product”, selecting the current month under “Options” and pressing “Go”.

 

Mobile Devices Now Have Bottom Navigation

Mobile view with navigation icon
“Off canvas” navigation in a mobile viewport

Previously, if you wished to navigate the website in a mobile device you needed to go (back) up to the top left navigation menu. As of today, if you have scrolled to the bottom of the page, you can simply access the navigation in the footer. This has always been the case for those using PCs & Macs.

New footer navigation as seen in a mobile browser

I had struggled to preserve the navigation in smaller viewports without it appearing cramped in that space… until now. I will leave the “Back to Top” links in place for those who want a quick way to start over from the top of the page.

Also I have added a light blue background color to distinguish this section from surrounding content. In night mode, the footer will turn to a deep navy.

As always, the site is completely responsive which means you can view it on any modern device with the screen size/orientation of your choice. You can even put it in a small browser window when using a computer alongside your other app(s). Home page conditions will update every minute by default and the entire page will refresh every 10 minutes.

I invite you to make full use of the site. Each page is a collection of freely-available, unique resources not found in one space elsewhere.

As it stands we have decent site engagement. That said, plenty of folks — even longtime regular users — have never left the home page. I assure you, we don’t put filler pages on the site. It’s all useful!

Back to Top
Theme:

(Auto night: 10:48 PM - 5:04 AM)