Skip to content

Planet-GEE-Pipeline-CLI

Compare
Choose a tag to compare
@samapriya samapriya released this 01 Sep 14:28
· 21 commits to master since this release

While moving between assets from Planet Inc and Google Earth Engine it was imperative to create a pipeline that allows for easy transitions between the two service endpoints and this tool is designed to act as a step by step process chain from Planet Assets to batch upload and modification within the Google Earth Engine environment. The ambition is apart from helping user with batch actions on assets along with interacting and extending capabilities of existing GEE CLI. It is developed case by case basis to include more features in the future as it becomes available or as need arises.

This release also contains a windows installer which bypasses the need for you to have admin permission, it does, however, require you to have python in the system path meaning when you open up command prompt you should be able to type python and start it within the command prompt window. Post-installation using the installer you can just call ppipe using the command prompt similar to calling python. Give it a go post installation type

ppipe -h

The tool has been successfully tested on Windows 10 and Ubuntu 16 both running Python 2.7. This tool now has a PyPI distribution so you can install using

pip install ppipe

Changelog

v0.4.0

  • Optimized size estimation tool includes table size and better handling of size in human readable form
  • Improvements to earth engine quota tool for more accurate quota and human readable

v0.3.9

  • Minor improvements
  • Fixed issue with path to pquota

v0.3.8

  • Now include a tool to print your planet quota details pquota
  • Tool includes dasync which uses the Planet's Python Client Downloader to activate, download using multithreading

v0.3.7

  • Now allows users to download from saved searches in planet explorer

v0.3.6

  • Now handles complex geometry by using a bounding box for GeoJSON files

v0.3.5

  • Fixed issues with space function
  • Improved file size parsing

v0.3.2

  • Generalized CLI arguments
  • Fixed subprocess shell issue for upload

v0.3.0

  • Allows for quiet authentication for use in Google Colab or non interactive environments
  • Improved planet key entry and authentication protocols

v0.2.91

  • Fixed issue with Surface Reflectance metadata and manifest lib
  • Improved ingestion support for (PSScene4Band analytic_Sr)[PS4B_SR]

v0.2.9

  • Fixed issues with generating id list
  • Improved overall security of command calls

v0.2.2

  • Major improvements to ingestion using manifest ingest in Google Earth Engine
  • Contains manifest for all commonly used Planet Data item and asset combinations
  • Added additional tool to Earth Engine Enhancement including quota check before upload to GEE

v0.2.1

  • Fixed initialization loop issue

v0.2.0

  • Metadata parser and Uploader Can now handle PlanetScope 4 Band Surface Reflectance Datasets
  • General Improvements

v0.1.9

  • Changes made to reflect updated GEE Addon tools
  • general improvements

v0.1.8

  • Minor fixes to parser and general improvements
  • Planet Key is now stored in a configuration folder which is safer "C:\users.config\planet"
  • Earth Engine now requires you to assign a field type for metadata meaning an alphanumeric column like satID cannot also have numeric values unless specified explicitly . Manifest option has been added to handle this (just use -mf "planetscope")
  • Added capability to query download size and local disk capacity before downloading planet assets.
  • Added the list function to generate list of collections or folders including reports
  • Added the collection size tool which allows you to estimate total size or quota used from your allocated quota.
  • ogr2ft feature is removed since Earth Engine now allows vector and table uploading.