Skip to main content

Solving the planet's problems, one pixel at a time.

Project description

A simple API for retrieving time series color data using the Planet API.

(Because API’s don’t have to be complicated!)

Example

PlanetPixel makes it fun and easy to plot the color of a single position on Earth as a function of time. For example, you can use it to study when Matthes lake in Yosemite National Park froze in the winter of 2017:

https://github.com/barentsen/planetpixel/blob/master/demo/lake1.png https://github.com/barentsen/planetpixel/blob/master/demo/lake2.png

We can study this in a quantitative way as follows:

https://github.com/barentsen/planetpixel/blob/master/demo/planetpixel-demo.png

PlanetPixel was created at the first public Planet Labs Hack Day on October 14th, 2019, in San Francisco, to demonstrate that API’s can be simple and fun!

Installation

pip install planetpixel

You also need to set your Planet Labs API key as the PL_API_KEY environment variable for this package to work.

Usage

from planetpixel import PlanetPixel
PlanetPixel(lon, lat).plot()

Caveat

Right now, the example above takes 15+ minutes to run. 😬

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

planetpixel-0.0.1.tar.gz (4.8 kB view hashes)

Uploaded Source

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