Skip to main content

NOAA API (V3) Python 3 SDK.

Project description

Build Status

NOAA Python SDK

SDK for NOAA Weather Service REST API.

Fully unit tested SDK for NOAA Weather Service REST API.

Requirements

  • Python 3.4 (tested)

Goal

To provide a generic wrapper for the latest V3 NOAA weather service API.
Keep on changing this SDK when NOAA updates their API.
Class can be extended / decorated.

Code sample

To get weather observation data from all nearest stations in 11375, US between 2017-12-01 00:00:00 (UTC) to 2017-12-01 05:00:00 (UTC)
from noaa_sdk import noaa
n = noaa.NOAA()
observations = n.get_observations_by_postalcode_country(
    '11365','US','2017-12-01','2017-12-02')
for observation in observations:
    print(observation)
To get weather forecast for a coordinate in USA
from noaa_sdk import noaa

n = noaa.NOAA()
n.points_forecast(40.7314, -73.8656, hourly=False)

Contributors

Project details


Download files

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

Source Distribution

noaa-sdk-0.1.5.tar.gz (9.0 kB view details)

Uploaded Source

File details

Details for the file noaa-sdk-0.1.5.tar.gz.

File metadata

  • Download URL: noaa-sdk-0.1.5.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for noaa-sdk-0.1.5.tar.gz
Algorithm Hash digest
SHA256 a19ebf66efe1fc1bc050d5edadd0146d4e0be3c6a017d11b7068c9ae134132cb
MD5 64aa28c2e268f2c492b8dcc24bf98f37
BLAKE2b-256 5505ba0cf356c7db240e68c37f1cc8430ac05e0b0f4f0d0c2aa32c4ce47df1fe

See more details on using hashes here.

Provenance

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