Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Historical weather data from NOAA

I am working on a data mining project and I would like to gather historical weather data. I am able to get historical data through the web interface that they provide at http://www.ncdc.noaa.gov/cdo-web/search. But I would like to access this data programmatically through an API. From what I have been reading on StackOverflow this data is supposed to be public domain, but the only place I have been able to find it is on non-free services like Wunderground. How can I access this data for free?

like image 543
azrosen92 Avatar asked Nov 14 '13 13:11

azrosen92


People also ask

How far back does NOAA data go?

The NOAA Paleoclimatology website hosts geophysical, biological, and reconstructed data, some going back 100 million years. Types of data include borehole data, climate forcing data, climate reconstruction, animal and plant data, fire history, ice core data, and more.

How do I get data from NOAA?

Request an Access Token from NOAA Navigate to the Request a Token website. Fill in an email address and you'll shortly get an email with your access token. Store this somewhere safe and keep it private. Otherwise, others could make requests to NOAA on your behalf and you don't necessarily want that.

How do I get weather data from NOAA API?

You can access this file at https://api.weather.gov/openapi.json (in JSON format) or https://api.weather.gov/openapi.yaml (in YAML format). Much of the data returned from the API is in GeoJSON (RFC 7946) format.


1 Answers

For a list of all service APIs provided by the National Climatic Data Center: http://www.ncdc.noaa.gov/cdo-web/webservices

Full documentation to the API which backs the search page you listed: http://www.ncdc.noaa.gov/cdo-web/webservices/v2

Requires a token, and limits to 1000 requests per day. If you need the limit increased for legitimate reasons contact http://www.ncdc.noaa.gov/customer-support.

Also, for bulk downloading use ftp: ftp://ftp.ncdc.noaa.gov/pub/data/

like image 131
Brian Avatar answered Sep 28 '22 04:09

Brian