- Minimum temperature,
- Maximum temperature,
- Precipitation,
- Snowfall,
- Wind,
- and much more.
Scenario
A friend in Berlin, Germany, asks you if they should buy an air conditioner. You can use climate data from NOAA to build a simple prediction tool that uses machine learning (ML) regression. For this tutorial, you will use the Global Historical Climatology Network – Daily (GHCND) dataset.Option 1: Data per location (weather station)
The station data file contains a pre-set collection of data points (high/low temperature, wind speed, precipitation, etc.) for one day. This makes it easy to review and understand the data. An initial approach would be to use historical data from a single station. Weather from every day of the last century or so was recorded in the source data. To simplify things, you can then use data from the last couple of years and focus on Berlin. However, you will find that this specific weather station shut down in the last two years, together with the airport (Tegel) that housed it. There are also gaps in the data (probably due to the world wars that took place in the area) that might need special consideration.Option 2: Super GHCND data (global dataset)
In this large dataset (12GB tar gzipped, ~103GB), each row contains one data point about one weather station per day, including:-
station_id -
date -
data point -
valuefields
all-station-history-data file called superghcnd_full_<creation date>.csv.gz from the GHCND index page, along with several metadata files:
-
ghcnd-countries– the list of country codes. -
ghcnd-states– the list of states and provinces. -
ghcnd-stations– the weather station names, codes, and location information. -
ghcnd-inventory– inventory listing the availability of data points for each weather station. For example, a station may offer daily high and low temperatures from 1929 to the current day, but wind speed is only available from 1944.