Weather summary

Weather • Updated 2 months ago

Download Shortcut Add to Collection
Version 1.0 • 2162 unique downloads

ShareShortcuts Member:

@twilsonco



Description

This shortcut demonstrates one of the best current abilities of generative AI text models, summarize lists of detailed information using natural language. This fetches weather data for your current location and have Gemini read back a natural language summary of the upcoming weather

Uses "Gemini via API" shortcut.

This shortcut can also be called from other shortcuts, providing as input one or more "Weather conditions" items, and it will return a nicely formatted and contextual string of the condition(s), as in the list provided to Gemini Pro shown below.

Here's an example list of weather data provided to Gemini Pro (with other parts of the prompt removed):

Current weather: Wed: 33°F, low of 24°F and high of 38°F, Windy 

Hourly forecast: 

10AM: 33°F (feels like 21°F), Windy, 21 mph wind with 27 mi visibility, air quality Good 

11AM: 35°F (feels like 24°F), Windy, 20 mph wind with 28 mi visibility 

12PM: 37°F (feels like 26°F), Windy, 20 mph wind with 28 mi visibility 

1PM: 38°F (feels like 29°F), Windy, 17 mph wind with 30 mi visibility 

2PM: 38°F (feels like 28°F), Windy, 17 mph wind with 29 mi visibility 

3PM: 37°F (feels like 28°F), Windy, 15 mph wind with 29 mi visibility 

4PM: 35°F (feels like 27°F), Mostly Clear, 12 mph wind with 27 mi visibility 

5PM: 33°F (feels like 25°F), Mostly Clear, 9 mph wind with 23 mi visibility 

6PM: 31°F (feels like 22°F), Mostly Clear, 11 mph wind with 22 mi visibility 

7PM: 30°F (feels like 23°F), Mostly Clear, 8 mph wind with 23 mi visibility 

8PM: 28°F (feels like 23°F), Mostly Clear, 4 mph wind with 23 mi visibility 

9PM: 26°F (feels like 19°F), Partly Cloudy, 6 mph wind with 22 mi visibility 

10PM: 25°F (feels like 19°F), Mostly Clear, 5 mph wind with 21 mi visibility 

11PM: 25°F (feels like 19°F), Partly Cloudy, 5 mph wind with 21 mi visibility 

12AM: 24°F (feels like 19°F), Partly Cloudy, 4 mph wind with 19 mi visibility 

1AM: 24°F (feels like 17°F), Partly Cloudy, 6 mph wind with 18 mi visibility 

2AM: 24°F (feels like 18°F), Partly Cloudy, 4 mph wind with 16 mi visibility 

3AM: 22°F (feels like 16°F), Partly Cloudy, 4 mph wind with 15 mi visibility 

4AM: 21°F (feels like 16°F), Partly Cloudy, 4 mph wind with 15 mi visibility 

5AM: 21°F (feels like 14°F), Mostly Cloudy, 4 mph wind with 15 mi visibility 

6AM: 20°F (feels like 13°F), Mostly Cloudy, 5 mph wind with 17 mi visibility 

7AM: 19°F (feels like 10°F), Mostly Cloudy, 7 mph wind with 17 mi visibility 

8AM: 19°F (feels like 9°F), Mostly Cloudy, 9 mph wind with 14 mi visibility 

9AM: 22°F (feels like 11°F), Mostly Cloudy, 10 mph wind with 11 mi visibility 

10AM: 24°F (feels like 12°F), Cloudy, 13 mph wind with 11 mi visibility 

Daily forecast: 

Wed: 38°F, low of 24°F and high of 38°F, Mostly Clear 

Thu: 25°F, low of 10°F and high of 25°F, Mostly Cloudy 

Fri: 34°F, low of 11°F and high of 34°F, Mostly Clear 

Sat: 19°F, low of -3°F and high of 19°F, Snow with 0.31% chance of precipitation (0.056 in) 

Sun: 1°F, low of -9°F and high of 1°F, Mostly Cloudy 

Mon: 5°F, low of -14°F and high of 5°F, Mostly Cloudy with 0.14% chance of precipitation (0.033 in) 

Tue: 42°F, low of -6°F and high of 42°F, Partly Cloudy 

Wed: 38°F, low of 6°F and high of 38°F, Partly Cloudy 

Thu: 47°F, low of 16°F and high of 47°F, Partly Cloudy with 0.28% chance of precipitation (0.056 in) 

Fri: 30°F, low of 8°F and high of 30°F, Snow with 0.31% chance of precipitation (0.162 in)

And here's its response:

Good morning, 

Right now in Arvada, the temperature is 34, and it's windy, with winds at 21 mph and 27-mile visibility. You'll definitely want to bundle up today as temperatures are not expected to rise much, and the wind chill is making it feel about 10 colder. 

The weather today will evolve as follows. At 1:00 PM, it's going to get a bit warmer, with temperatures reaching 38° F, though the wind will still be significant at 17 mph. By 4:00 PM, the winds will start to die down and temperatures will begin to drop. By 7:00 PM, expect partly cloudy skies, calm winds, and a temperature of 30. Overnight temperatures will continue to fall, reaching 24 by 10:00 PM, accompanied by partly cloudy skies and light winds. 

As for the rest of the week, tomorrow will be colder, with a high of only 25. Friday will be a bit warmer, with a high of 34. Be prepared for a blast of winter weather over the weekend, though, with snow expected Saturday and Sunday, and temperatures dropping to -3 at their lowest. By early next week, conditions will begin to improve again, with a slight warmup on Monday. Tuesday should be much milder, with temperatures reaching 42. 

Dress warmly, drink plenty of water, and avoid spending prolonged periods outdoors in the cold today. Have a great day, and enjoy the winter scenery.



Changelog

v1.0
  • Version 1.0   Current
    2 months ago (Changes)

Extensions:

Siri is supported

Show 8 embedded comment(s) in this Shortcut