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 details)

Uploaded Source

File details

Details for the file planetpixel-0.0.1.tar.gz.

File metadata

  • Download URL: planetpixel-0.0.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for planetpixel-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a61bf2242d55ec95c0dd62ada979d7a28f710a9dbdeaac9e608c47e1206ef4f8
MD5 fb130501c87093c65a7426ff05ecc4fc
BLAKE2b-256 8301b2acd63cd8a60bf79d82c950c643362b033e1217bdc2deecdafec39dfe88

See more details on using hashes here.

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