跳转到主要内容

一次解决一个像素,解决地球问题。

项目描述

使用Planet API检索时间序列颜色数据的一个简单API。

(因为API不需要太复杂!)

示例

PlanetPixel 使您能够轻松有趣地绘制地球上一个位置的颜色随时间的变化。例如,您可以使用它来研究2017年冬季约塞米蒂国家公园的Matthes湖何时结冰。

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

我们可以按以下方式以定量方式研究这个问题

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

PlanetPixel 是在2019年10月14日旧金山首次公开的Planet Labs Hack Day上创建的,旨在展示API可以简单且有趣!

安装

pip install planetpixel

您还需要将您的Planet Labs API密钥设置为环境变量PL_API_KEY,以便此包能够工作。

使用方法

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

注意事项

目前,上面的示例需要15分钟以上才能运行。😬

项目详情


下载文件

下载适用于您平台的应用程序。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分布

planetpixel-0.0.1.tar.gz (4.8 kB 查看哈希值)

上传时间: 源代码

支持