Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for planetpixel, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size planetpixel-0.0.1.tar.gz (4.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page