Launching of Weather

With this post, I am launching weather for my website. So, why and what is weather? This is inspired by recent weather events.

In addition to the ability to show a location, I’m also now showing the weather conditions at that location at the time the post was made. So, as this post was made, it was 43 degrees with showers(indicated by the icon).

I may tweak the presentation in future. The new additions to my location plugin include not only displaying the weather on a post, but a sitewide weather display as well as a new option to show the last location reported on a post…Will be testing that and the weather in the coming days as I take a trip.

I have an idea in future to grab this information from my phone, which has a GPS chip, but am not there yet.

As I’ve been backfilling weather on old posts on my site, I’ve also been fixing photo markup so that old photos will show up in the photo grid I added not long ago at /kind/photo. You can also look by year by adding the year to the end of the URL(/2020 or such). May add some links.

Simple Location 4.3.0 Released

Simple Location 4.3.0 has been released. This continues on the work released last week in 4.2.2.

Measurements in Simple Location have been stored in scientific units(celsius, meters, etc) since 2019, with an option to display in imperial on the frontend. With 4.2.2, the admin will now show in imperial units if you set the setting. This can be overridden on any page by adding the ?sloc_units=metric or ?sloc_units=imperial to the end of the URL.

4.3.0 introduces Meteostat and Visual Crossing as weather providers. Visual Crossing is the first provider that not only offers 1000 queries per day, but pay per use at a fraction of a cent after that. All of the other providers offering a free tier require a monthly fee after that point that well exceeds justification for the amount of posts even the most dedicated poster makes.

Meteostat is a historic only provider. It offers not only an API(key required), but the ability to download all data on a specific weather station(which requires no key). A future version of the plugin could download and cache the weather stations you use the most. For now, only the list of stations is bundled with the plugin, which it uses to determine the closest station.

The National Weather Service, the Met Office(UK), and the Custom Station plugin also cycle through lists of stations to find the closest one.

Expect more enhancements in the weather station category, with so many different ways to get weather stations data.

4.3.0 introduces historic weather support, for providers who offer this without a premium account. This includes Dark Sky(if you still have an API key), Meteostat(which only offers historic data), and Visual Crossing. If someone is paying for premium service on OpenWeatherMap and wants to talk me into adding this, send me a note.

The Fallback Weather provider feature introduced in 4.2.0, which allows for a secondary provider, will be checked if the primary provider does not offer historic weather.

Please remember, somewhere on your site, to provide attribution to the services you use. I’m off to backfill weather on my old posts.

Soup Kitchen for the Jewish Poor
Founded in 1854, moving to this location in 1902, it originally serviced immigrants and refugees who needed assistance. It pivoted to assisting the elderly and ill, and remained at this location until 1992, when the functions were taken over by other community groups.