There is a newer version of the record available.

Published October 30, 2019 | Version 0.3.3
Software Open

samapriya/geeup: geeup: Simple CLI for Earth Engine Uploads

Authors/Creators

  • 1. Planet Labs

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 [-h]
             {init,selsetup,quota,zipshape,getmeta,upload,seltabup,tasks,delete}
             ...

Simple Client for Earth Engine Uploads with Selenium Support

positional arguments:
  {init,selsetup,quota,zipshape,getmeta,upload,seltabup,tasks,delete}
    init                Initializes the tool by downloading and updating
                        selenium drivers for firefox
    selsetup            Non headless setup for new google account, use if
                        upload throws errors
    quota               Print Earth Engine total quota and used quota
    zipshape            Zips all shapefiles and subsidary files into
                        individual zip files
    getmeta             Creates a generalized metadata for rasters in folder
    upload              Batch Asset Uploader 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.3.3
  • Added fix for handling no data in manifests while uploading.
v0.3.2
  • Fixed issue with selsetup.
v0.3.1
  • Fixed issue with raw_input and input for selsetup.
  • Fixed selenium path for windows and other platforms.
  • General improvements to ReadMe
v0.3.0
  • Fixed issue 13 non relative import.
  • Fixed issues with package import.
v0.2.9
  • Fixed issues caused by --no-use_cloud_api in earthengine-api package

Files

samapriya/geeup-0.3.3.zip

Files (30.4 kB)

Name Size Download all
md5:94b4d886bfc9abd3b078d2de2319c63d
30.4 kB Preview Download

Additional details

Related works