Skip to main content

An unofficial Python client for the NASA Power API

Project description

NASA Power

An unofficial Python client for the NASA Power API.

Documentation of the API found on https://power.larc.nasa.gov/docs/tutorials/service-data-request/api/

Installation

python -m pip install nasa-power

Usage

Currently only the points API has been implemented. The point method accepts six named parameters (coordinates, parameters, start, end, resolution, and community).

import nasapower

df = nasapower.point(
  coordinates=(52.09, 5.12),
  parameters=['WS50M', 'CLRSKY_SFC_SW_DWN'],
  start=datetime.date(2020, 01, 01),
  end=datetime.date(2020, 12, 31)
)

Licensing

The code in this project is licensed under the MIT license.

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

nasa_power-0.1.2.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nasa_power-0.1.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file nasa_power-0.1.2.tar.gz.

File metadata

  • Download URL: nasa_power-0.1.2.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for nasa_power-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0abf186473216473dd098f246e6a188cb9a257108cd8acde7edbdf5acfefb21e
MD5 2e69930f5bd6dd6fda21baeda3b5d655
BLAKE2b-256 24436eea7c9504cc4be88763f0df32ccfa4ccb19a5ab72898b91077fb6e1c7cd

See more details on using hashes here.

File details

Details for the file nasa_power-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: nasa_power-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for nasa_power-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 67e686df55cccc6275f0980a3fb29bff1f4258f24ab607f96e3587b624d4fae7
MD5 bb7420e04005075d6b267b147f3ea881
BLAKE2b-256 df94af17db9ebc4276658eac5abee9c38eef0b81676e36ce4cff7017d12b9ccd

See more details on using hashes here.

Supported by

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