I've just finished updating the Weather Now gazetteer, the database of geographical information that connects weather information to locations. This involved re-importing 283 countries and 4,494 administrative divisions from the National Geospatial Information Agency, plus 25,668 weather stations from the National Climate Data Center and 20,166 airports from the Federal Aviation Administration.
Most of these places already existed in the gazetteer, so they just got freshened up from the latest releases of the NCDC and FAA data. And, as I previously complained, the Country and Division records got their correct GEC identifiers.
Next up: a bunch of minor bugs and enhancements on the Place Info and Airport Info pages, so you can actually see the updated geographical data.
First, though, I'm going to take Cassie on a 30-minute walk. It's overcast and gloomy, but the temperature has held at just under 1°C for the past few hours. We won't have the chance to spend 30 minutes outside again until next Thursday if the forecast -18°C temperatures occur.
I've been working on a long-overdue update to Weather Now's gazetteer, the database of places that allows people to find their weather. The app uses mainly US government data for geographic names and locations, but also some international sources. This matters because the US government has a thing called "Geopolitical Entities and Codes (GEC)," which superseded Federal Information Processing Standard (FIPS) publication 10-4. Everyone else in the world use International Standards Organization publication ISO-3166 for country codes, which also doesn't have any of the same identifiers for places smaller than countries that the FIPS and GEC standards to.
Unfortunately, even though the US adopted an updated standard (FIPS 104-1), it doesn't exactly match ISO-3166.
This has caused a bit of extra work to refactor my import code to use both GEC and ISO identifiers for countries—plus the old FIPS 10-4 codes. The geographic data sets I'm going to add to Weather Now in the next couple of weeks use random assortments of the three standards.
All this just means that I have to do several hours more work than I anticipated before I can start importing other sources. But first up, when I do, will be the United States Geological Survey list of about a million places. That will make searching for weather in the US a lot more effective.
I actually had a lot to do today at my real job, so I pushed these stories to later:
Finally, The Economist calls out "six books you didn't know were propaganda," including Doctor Zhivago and One Hundred Years of Solitude.
New York City has a huge online map of every tree they manage, and they just updated their UI:
Near the Tennis House in Brooklyn’s Prospect Park grows a magnificent white oak that stands out for its impressive stature, with a trunk that’s nearly four feet wide. But the massive tree does more than leave visitors in awe. It also provides a slew of ecological benefits, absorbing some 25,000 tons of carbon dioxide and intercepting nearly 9,000 gallons of stormwater each year, according to city data. It also removes pollutants from the air and help the the city conserve enough energy to power a one- or two-bedroom apartment for roughly two months.
In economic terms, just that one tree contributes more than $550 each year.
Such fine-grained information is now available for more than 150,000 trees in parks managed by NYC Parks and Recreation via a new living tree guide from the agency. The New York City Tree Map, launched Thursday, is an expansion of the city’s existing street tree map, which since 2016 has enabled New Yorkers to get up close and personal with the 650,000-some trees that line their neighborhood sidewalks.
Hey, Chicago: when do we get one of these?
The Bureau of Geographic Names has a multi-year plan to rid the US of racist place names:
Usually, the public eye is far from the BGN, a member of the class of government bodies whose work you could go a lifetime without thinking about, even though it’s all around you. But the board now finds itself in the middle of the fiery national debate over racism and language. In recent years, the BGN has spent more of its time reconsidering offensive names than doing anything else, but the process typically takes months and is reactive by design, with names considered case by case upon request.
A different, faster process is possible. In November, Interior Secretary Deb Haaland, the first Native American to hold that post, issued an order designed to wipe any mentions of “Squaw,” probably the most frequently used slur in place names, off the map. She issued a second order that will establish an advisory committee to identify other offensive names that might be proactively changed under a similar mechanism. In 2020, when Haaland was a member of Congress, she introduced a bill that would also create such a committee, and although Green and Senator Elizabeth Warren reintroduced it this year, the bill is stuck in limbo.
But even the expedited process will take time. Removing all uses of “Squaw” is expected to take about a year, and that’s the simpler of the two orders. One challenge is that determining what’s offensive isn’t always straightforward. Names including a slur are easy, but others—such as Jew Valley, Oregon, named after a group of Jewish homesteaders—are less clear-cut. Another is that any feature whose name is removed needs a new one, ideally one that is locally meaningful and that will age better than whatever it’s replacing. The BGN is designed with process in mind, not justice or equity.
Weather Now, my demo application, makes heavy use of BGN data. Most of the US places in its gazetteer have BGN identifiers so I can update them automatically.
The deployment I concluded yesterday that involved recreating production assets in an entirely new Azure subscription turned out much more boring (read: successful) than anticipated. That still didn't stop me from working until 6pm, but by that point everything except some older demo data worked just fine.
That left a bit of a backup of stuff to read, which I may try to get through at lunch today:
Finally, summer apparently arrives in full force tomorrow. We're looking forward to temperatures 5-10°C above normal through mid-June, which will continue northern Illinois' drought for at least a few more weeks.
Just a few stories:
Finally, it only took 375 years and satellite imagery, but geologists have demonstrated that New Zealand is on its own continent.
Sony-made GPS chipsets failed all over the world this weekend when a GPS cheat-sheet of sorts expired:
In general, the pattern of your route is correct, but it may be displaced to one side or the other. However, in many cases by the completion of the workout, it sorts itself out. In other words, it’s mostly a one-time issue.
The issue has to do with the ephemeris data file, also called the EPO file (Extended Prediction Orbit) or Connected Predictive Ephemeris (CPE). Or simply the satellite pre-cache file. That’s the file that’s delivered to your device on a frequent basis (usually every few days). This file is what makes your watch near-instantly find GPS satellites when you go outside. It’s basically a cheat-sheet of where the satellites are for the next few days, or up to a week or so.
I experienced this failure as well. I recorded two walks on my Garmin Venu, one Friday and one yesterday. In both cases, the recorded GPS tracks appeared about 400 m to the west of where I actually walked.
Because the issue started between 22:30 UTC on December 31st and 15:00 UTC on January 1st, I (and others) suspect this may have been bad date handling. Last year not only had 366 days, but also 53 weeks, depending on how the engineers configured the calendar. So what probably happened is that an automatic CPE update failed or appeared to expire because the calendar handling was off.
Dates are hard.
A 10-hectare section of Alta, Norway, slipped into the sea on Wednesday, destroying 8 vacation homes and temporarily inconveniencing a dog:
The landslide, which ran 2,133 feet along the shore and went nearly 500 feet inland, was the largest the area has ever seen, according to Anders Bjordal, a Norwegian Water Resources and Energy Directorate senior engineer who was involved in the rescue operation.
“In this municipality, a landslide has not happened in 50 or 60 years, and there has never been one this size,” Mr. Bjordal said on Friday.
Jan Egil Bakkeby, who owned one of the cabins, scrambled out of the building when he heard the landslide begin. “I had just made two slices of bread when I heard it crack in the cabin,” he told the Norwegian newspaper Altaposten. “At first I thought there was someone in the loft, but then I saw out of the window that the power cord was smoking.”
As he moved to higher ground, he filmed the scene as a swath of land under his and others’ properties inched into the water and was soon submerged.
Only one rescue took place: A dog was swept away when the land began to slip, and the animal was carried out to sea, officials said. The dog was able to swim ashore and was rescued by a helicopter that was checking the area for missing people.
The video is surreal:
But I will take the time as soon as I get it:
Now, I need more tea, and more coding.