Weather is the state of the atmosphere at a place and time as regards heat, dryness, sunshine, wind, rain, etc.
Weather can be an attribute of a post, a log of a passive experience, or an entity.
Posting weather information on your website lets you show your readers the current environmental conditions in which you live. This may help them empathize with you over the weather.
Sharing your weather information may reduce the number of people who ask "how is the weather?" Even if people ask this question, you can point them to your website for detailed information.
There are many free weather APIs available that provide accurate data covering:
- Current weather conditions (i.e. rain, snow)
- Historical data is readily available
- Weather APIs provide data on points that are difficult to collect on a home weather station (i.e. forecasts)
- Some APIs like OpenWeatherMap restrict their APIs to certain endpoints for unpaid consumers
- See API criticism
Home Weather Station
Hosting a weather station at home is an option. A home weather station will let you collect information that is specific to your home, rather than data on your city from an API.
The Raspberry Pi Sense HAT is a good sensor to start working with if you are new to weather data and want to dip your toes into a home weather station.
- Complete ownership over your weather data
- You can collect only the metrics you need
- You do not need to depend on silos (Dark Sky shut down)
- You will need to buy your own sensors
- Setting up sensors may require some hardware knowledge
- Verifying the integrity of your data is difficult
- If a weather station is not correctly positioned, the weather data may be inaccurate.
Calum Ryan displays weather and temperature information per post as of 2016-05-28.
Jeremy Keith displays a weather icon next to the location of the post.
Eddie also uses his current location and the weather from that location to add weather effects to his homepage. as of 2018-11-15 he supports displaying animated snow if it is snowing at his current location.
Weather can be the logging of a passive experience as a post on a site.
An entire site can be for an entity, such as a weather station.
weather info on posts
The simplest use case for weather data is attached to a post of any type. This adds additional context to a post.
Example: Picture of Snowpocalypse...with the context of location and temperature.
Possible items in need of markup
- Relative Humidity
- Barometric Pressure
- Windspeed and direction
David Shanske suggests that all properties be marked up as either plaintext or an h-measure and that these properties be considered part of the location property. Specifically within an h-adr. Proposal for properties is as followed.
- p-temperature - Temperature
- p-humidity - Humidity
- p-weather - A textual description of the weather
weather info on homepage
- Tantek Çelik: I kinda want different modifiers to my site icon depending on weather condition, like, a 😷 for bad air, a cap for cold weather etc., perhaps seasonal icon decorations.
weather info on a separate page
- capjamesg displayed his weather information on a subdomain on his site.
For weather overviews (i.e. just the temperature) then displaying weather data on every page on a site may make the most sense. For setups that collect more advanced data, weather information could appear on a separate page so as not to distract users.
UK Snow Map collates tweets with #uksnow in and location (by postcode or geotag) and snow intensity from 0-10
There is a small and dedicated community of weather enthusiasts that are contributing data to sites such as Weather Underground. From the entity point of view, there is an opportunity for this data to appear as a useful activity stream. example of weathwr station posting
- Good UI examples: Dark Sky, https://www.metoffice.gov.uk
- Dark Sky API is closed for new submissions: https://blog.darksky.net/dark-sky-has-a-new-home/
- Raspberry Pi Sense HAT tutorial: https://projects.raspberrypi.org/en/projects/getting-started-with-the-sense-hat/7
- Building a Weather Station by capjamesg
- Cool design example for displaying an archive summary of temperatures across posts: https://showyourstripes.info/ (looks a lot like Dopplr's trip stripes)
- Adding Weather effects