Overview

Under the National Oceanic and Atmpospheric Administration, the National Weather Service provides daily weather reports for cities across the county. This is done through the use of 122 different Weather Forcast Offices throughout the country. These WFOs are responsible for the daily weather reports for serveral cities throughout their region of coverage. This data set takes the information from these WFO reports for cities across the country through the months of April to June of 2016.

http://w2.weather.gov/climate/

Explore Structure




Index Type Example Value
0 dict { }
... ... ...
Index Type Example Value
0 str "RAIN"
... ... ...
Key Type Example Value Comment
"Full" str "04-13-2016"
"Day" int 13
"Month" int 4
"Year" int 2016
Key Type Example Value Comment
"Precipitation" float 0.32 Inches
"Temperature" dict { } Degrees Farenheit
"Wind" dict { }
Key Type Example Value Comment
"High Gust" float 28.0
"Avg Wind" float 9.0
"High Wind" float 21.0
Key Type Example Value Comment
"Weather Conditions" list [ ] This is a list of strings. An empty list represents no significant weather to report for that day
"Date" dict { }
"Station" dict { }
"Data" dict { }
Key Type Example Value Comment
"Max Temp" float 57.0
"Avg Temp" float 51.0
"Min Temp" float 44.0
Key Type Example Value Comment
"City" str "Seattle"
"State" str "Washington"
"Code" str "SEA"
"Location" str "Seattle, WA"

Downloads

Download all of the following files.

Usage

This library has 1 function you can use.
import weather
list_of_report = weather.get_weather()
Additionally, some of the functions can return a sample of the Big Data using an extra argument. If you use this sampled Big Data, it may be much faster. When you are sure your code is correct, you can remove the argument to use the full dataset.
import weather
# These may be slow!
list_of_report = weather.get_weather(test=True)

Documentation

 weather.get_weather(test=False)

Returns weather reports from the dataset.