samapriya/geeup: geeup: Simple CLI for Earth Engine Uploads
Description
This came of the simple need to handle batch uploads of both image assets to collections but also thanks to the new table feature the possibility of batch uploading shapefiles into a folder. Though a lot of these tools including batch image uploader is part of my other project geeadd which also includes additional features to add to the python CLI, this tool was designed to be minimal so as to allow the user to simply query their quota, upload images or tables and also to query ongoing tasks and delete assets. I am hoping this tool with a simple objective proves useful to a few users of Google Earth Engine.
This also needs earthengine cli to be installed and authenticated on your system and earthengine to be callable in your command line or terminal
To install geeup: Simple CLI for Earth Engine Uploads you can install using two methods
pip install geeup
or you can also try
git clone https://github.com/samapriya/geeup.git
cd geeup
python setup.py install
For linux use --user flag it there are issues
pip install geeup --user
usage: geeup.py [-h]
{update,quota,zipshape,upload,selupload,tabup,seltabup,tasks,delete}
...
Simple Client for Earth Engine Uploads with Selenium Support
positional arguments:
{update,quota,zipshape,upload,selupload,tabup,seltabup,tasks,delete}
update Updates Selenium drivers for firefox [windows or linux
systems]
quota Print Earth Engine total quota and used quota
zipshape Zips all shapefiles and subsidary files into
individual zip files
upload Batch Asset Uploader.
selupload Batch Asset Uploader for Planet Items & Assets using
Selenium
seltabup Batch Table Uploader using Selenium.
tasks Queries current task status
[completed,running,ready,failed,cancelled]
delete Deletes collection and all items inside. Supports
Unix-like wildcards.
optional arguments:
-h, --help show this help message and exit
Changelog
v0.1.4
- OS based geckdriver path fix
- General improvements
- fixed issues with extra arguments
- Upload issue resolved
- General dependency
- fixed dependency issues
- Upload post issues resolved
- Removed dependency on poster for now
- fixed attribution and dependency issues
- Included poster to improve streaming uploads
- All uploads now use selenium
- fixed issues with unused imports
- fixed issues with manifest lib
- Detailed quota readout
- Uses selenium based uploader to upload images
- Avoids issues with python auth for upload
- Removed unnecessary library imports
- Minor improvements and updated readme
- Improved valid table name check before upload
- Improvements to earth engine quota tool for more accurate quota and human readable
Files
samapriya/geeup-0.1.4.zip
Files
(5.3 MB)
Name | Size | Download all |
---|---|---|
md5:6b8305ddefb4e9f7113c9e419c79beef
|
5.3 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/samapriya/geeup/tree/0.1.4 (URL)