Skip to main content

A bulk historical weather data from National Oceanic and Atmospheric Administration.

Project description

noaa-weather-api

You can access historical weather data with NOAA Weather API.

Getting Started

Method : get_all_stations_in_location():

Returns all stations in that given country. df_s is a data frame that contains information such as station code, latitude and longitude.

from noaa import get_all_stations_in_location as gas

df_s = get_all_stations(dataset, location, n_token)

df_s looks like this:

alt_text

Method : get_bulk_weather_in_station():

Returns one historical weather report for a given station between two dates, using one of the resulting station id's.

Date: Must be in String and YYYY-MM-DD format. Example: '2019-06-26'

df_w = get_bulk_weather_in_station(dataset, location, s_date, e_date, n_token)

df_w looks like this: alt_text

For more information about abbreviations: click here.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

noaa_weather-0.1-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page