simple_NOAA allows for streamlined access to NOAA datasets
Project description
simple_NOAA Welcome to simple_NOAA, a Python package for accessing weather data from the National Oceanic and Atmospheric Administration (NOAA) through their API. The package includes a dataframe of station metadata, which can be used to request weather data based on location and time.
Dependencies
pandas request from shapely.geometry import Point, Polygon
Usage
The package includes the following functionalities:
stations_frame: A dataframe of station data from NOAA stations_in_region(lat, lon, num_closest, radius): Returns a list of the num_closest stations within radius kilometers of the point created by lat and lon yearly_request(search_type, station_list, year1, year2): Returns a dataframe of global-summary-of-the-year datasets for the requested stations monthly_request(search_type, station_list, year1, year2): Returns a dataframe of global-summary-of-the-month datasets for the requested stations daily_request(search_type, station_list, year1, year2): Returns a dataframe of daily-summaries datasets for the requested stations Examples and testing of the package's functionality can be found in the testing.ipynb file.
Contribution
If you're interested in contributing to the development of the library, please reach out to me at devinrshaw@gmail.com. We welcome bug reports and feature requests.
License
This package is released under a open-source license. Please refer to the license file for any restrictions on its use.
Contact
Creator: devinrshaw@gmail.com
References
Metadata on NOAA stations: https://www.ncei.noaa.gov/access/homr/reports/mshr NOAA dataset API user documentation: https://www.ncei.noaa.gov/support/access-data-service-api-user-documentation NOAA datasets explained: https://www.ncdc.noaa.gov/cdo-web/datasets Explanation of dataset labels: https://www.ncei.noaa.gov/pub/data/metadata/documents/
FAQs
What is the package's main purpose? simple_NOAA is a Python package that provides an easy-to-use interface for accessing weather data from the National Oceanic and Atmospheric Administration (NOAA) through their API. What kind of weather data can I request? You can request global-summary-of-the-year, global-summary-of-the-month, and daily-summaries datasets for specific stations. How do I find the stations I want to request data for? You can use the stations_in_region function to find stations within a certain radius of a given latitude and longitude. Is there a limit on how much data I can request? The NOAA API has usage limits, please refer to their API documentation for more information. Please let me know if you have any other question.
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 Distribution
Built Distribution
File details
Details for the file simple_noaa-0.1.tar.gz
.
File metadata
- Download URL: simple_noaa-0.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57cd8ee05a40eda340bf77caab82edfbcf6c0db5ad0931a0fed029954616c294 |
|
MD5 | 883bb55f5692c9266d19bc6b9dc5b51f |
|
BLAKE2b-256 | 59ad466dcc98091789fa062ae33c800d46e5ba485415db6cb9b1b22aa5bc269a |
File details
Details for the file simple_noaa-0.1-py3-none-any.whl
.
File metadata
- Download URL: simple_noaa-0.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 327b88a35936467a5cd655a7b2d37c18b3736eaada73e26f0c90b6cf5808295d |
|
MD5 | 276b5a6c67eac0d9d7103945dba16cc0 |
|
BLAKE2b-256 | 92f28d7faee681c3b6d8ee1782a4d24a826f7ff8a57b7cf999cb23dcbb1c5193 |