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:
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:
For more information about abbreviations: click here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for noaa_weather-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d43b6adfae1d80d16698f57d89a11a3a61c45dc849c46b08170f72a995d74b13 |
|
MD5 | b636fa395dffa697ac3f3aaf0fe887c2 |
|
BLAKE2b-256 | 3cf116f593c75f2fcfd493d5967721c72e1cb696ad8296369c905188d4088ee0 |