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.1.tar.gz (3.6 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.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nasa_power-0.1.1.tar.gz
  • Upload date:
  • Size: 3.6 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.1.tar.gz
Algorithm Hash digest
SHA256 77a185cecaf40f3c4b5357c7ca056b7b13a374c0d0dada4d5e4bf39a2cccd6c6
MD5 b922bdb2441ce78204fb3180be6715b5
BLAKE2b-256 45ac0209c5cd27da1700c29bc3729cfaa4773c8b782ae6dee8118e90686a6eae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nasa_power-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 df901793fa6d1ce472e193cc953f94d3065dae61ab156bea422b6a7745023b10
MD5 0839429aa156eb5cfd018b66581dc7f2
BLAKE2b-256 17557201368f10abdf9c56379172e26332c34ac44ac388725018d5691b3debac

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