Skip to main content

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.

Release files for nasa-power 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nasa-power 0.1.4
File Size Uploaded
nasa_power-0.1.4.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nasa-power 0.1.4
File Interpreter ABI Platform
nasa_power-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / nasa_power-0.1.4.tar.gz

Download URL nasa_power-0.1.4.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3201aaf8006595ce7988214880b9fa1a008d87e6765e43165840192a4ea8c449
BLAKE2b-256 checksum
How to use checksums
e76ddd209f48c40701c85cb2e0d0e5587e4ad32b41de420214c7d95c92768e92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.0

Release files / nasa_power-0.1.4-py3-none-any.whl

Download URL nasa_power-0.1.4-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
02d373989a659076dde8fa7febf874dc911263272b2e652a441b6aa1d3a51b1b
BLAKE2b-256 checksum
How to use checksums
8efce2beb77eb26257dedf190ceace4cd421c2b9fdaf303de9b801e3f8614d00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.0

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page