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.

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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page