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.4.tar.gz (3.8 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.4-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nasa_power-0.1.4.tar.gz
  • Upload date:
  • Size: 3.8 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.4.tar.gz
Algorithm Hash digest
SHA256 3201aaf8006595ce7988214880b9fa1a008d87e6765e43165840192a4ea8c449
MD5 150b06707e2dd6e81c06b283dfc566ba
BLAKE2b-256 e76ddd209f48c40701c85cb2e0d0e5587e4ad32b41de420214c7d95c92768e92

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nasa_power-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 02d373989a659076dde8fa7febf874dc911263272b2e652a441b6aa1d3a51b1b
MD5 be28e3e7eacfc4ca2e754b6bca72e38c
BLAKE2b-256 8efce2beb77eb26257dedf190ceace4cd421c2b9fdaf303de9b801e3f8614d00

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