samapriya/Clip-Ship-Planet-CLI: Clip-Ship-Batch Planet Command Line Interface
Description
Planet's Clip API was a compute API designed to allowed users to clip the images to their area of interest. This would save them time in preprocessing and also allow the user to save on their area quota which might have restrictions. Based on Planet's Education and Research Program this quota is set at 10,000 square kilometers a month, which means saving up on quota is very useful. The discussion also led to an important clarification that users are in fact charged only for the area downloaded post clip if using the clip operation and hence this tool. This tool takes a sequential approach from activation to generating a clip request for multiple images activated and then processing the download tokens to actually download the clipped image files. The tool also consists of a sort function which allows the user to extract the files and sort them by type and deleting the original files to save on space.
Changelog v0.2.5- Updated Quota Tool
- Removed infinite loop issue with download
- Improved Planet Key Handler
- Added new tool to inspect planet account quota
- Thanks to commit suggested by Rabscuttler
- Fixed issues with help text and installer
- Fixed issues with config files
- Now handles running and succeeded status better
- Now enumerates during clip and download to allow user estimates on number of assets clipped and/or downloaded
- Includes required packages list within installer
- Robust GEOJSON Parsing
- Fixed issues with processing visual asset types
- The Clip function now handles error codes if the post response code is not 202(accepted for processing) then the error code and item and asset type is printed.
- Handles single time input API Key, this is needed only once to start the program
- Fixed issue with base metadata folder during sort
- Updated asset argument for asset activation to match styles
- Updated Requirements.txt to include pyshp
- Fixed subprocess shell error, for now shell=True
- General Improvements
- General Improvements
- Tested on Ubuntu 16.04 and now handles permissions problem
- Temporary files are now written to config folders to avoid admin permission
- General Improvements
Files
samapriya/Clip-Ship-Planet-CLI-0.2.5.zip
Files
(27.5 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:719ce92c6c1e3b8a8260fd88e0316eea
|
27.5 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/samapriya/Clip-Ship-Planet-CLI/tree/0.2.5 (URL)