Skip to main content

A thin wrapper around the NASA Power API

Project description

NASA Power

A thin wrapper around the NASA Power 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.0.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

nasa_power-0.1.0-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

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