Sample Data: OpenWeatherMap — Deprecated¶
OpenWeatherMap is a repository of recent historical and forecasted weather data in JSON format. Snowflake imports this weather data and makes it available to all Snowflake accounts free of charge so you can experiment with our unique, high-performance semi-structured columnar functionality using real-world data.
Important
The sample weather data is provided for evaluation and testing purposes. The data is updated regularly in Snowflake, but is not maintained in real-time, which may result in occasional lapses in updates (i.e. we do not guarantee that the data is always current and/or gap-free).
As such, we do not recommend using the data in production systems.
Tables¶
The data set includes the following tables, all stored in native JSON format and accumulated over time:
Table Name |
Description |
JSON Description |
|---|---|---|
DAILY_14_TOTAL |
12 days of daily weather forecasts for 20,000+ cities. |
Click here |
DAILY_16_TOTAL |
12 days of daily weather forecasts for 200,000+ cities (lower frequency of updates). |
Click here |
HOURLY_14_TOTAL |
4 days of hourly weather forecasts for 20,000+ cities. |
Click here |
HOURLY_16_TOTAL |
4 days of hourly weather forecasts for 200,000+ cities (lower frequency of updates). |
Click here |
WEATHER_14_TOTAL |
Recent weather for 20,000 cities. |
Click here |
Query Examples¶
The following query retrieves the recent high and low temperature readings for New York City, converted from celsius to fahrenheit temperatures, along with the latitude and longitude for the readings:
The following query compares weather forecasts to actual weather readings: