Skip to main content

PlanetPixel

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. 😬

Metadata

Release files for planetpixel 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for planetpixel 0.0.1
File Size Uploaded
planetpixel-0.0.1.tar.gz 4.8 kB Details

Release files / planetpixel-0.0.1.tar.gz

Download URL planetpixel-0.0.1.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a61bf2242d55ec95c0dd62ada979d7a28f710a9dbdeaac9e608c47e1206ef4f8
BLAKE2b-256 checksum
How to use checksums
8301b2acd63cd8a60bf79d82c950c643362b033e1217bdc2deecdafec39dfe88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page