Skip to content

geeup: Simple CLI for Earth Engine Uploads

Compare
Choose a tag to compare
@samapriya samapriya released this 20 Jan 06:27
· 39 commits to master since this release

This came from 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

geeup_054

Changelog

0.6.1

  • Removed dependency on pipwin uses pipgeo instead
  • Removed dependency on beautifulsoup
  • Corrected enumberation for raster upload

0.6.0

  • Better error logging for GeoTiff uploads
  • Fixed Issue 52

0.5.9

  • Reduced dependency on pipwin and removed pipwin refresh checks
  • Fixed python path issue for pip installation
  • Allow for overwriting assets in folders or collections
  • Created consistent output including task ID for both tables and images
  • Overall improvements and modifications

0.5.8

  • Adding dependency on GDAL again to handle custom geotiffs correctly.
  • Added back rename tool and improvements made in v0.5.6
  • Updated language to notify users of images in a collection or tables in a folder

0.5.7

  • Getmeta tool now generates crs and bounding box

0.5.6

  • Removed dependency on GDAL

0.5.5

  • Made sure table and image upload use the term associated tasks
  • geeup tasks now uses updateTime to prevent key error for RUNNING tasks
  • zipshape tool can now create the export directory if it does not exist

0.5.4

  • Major version improvements to performance and codebase
  • Added rename tool to allow file renaming to EE rules
  • Added natural sorting to sort filenames to be ingested
  • Added capability for image and table upload to check for both existing assets and assets in task queue before retrying
  • Added task check capability to avoid 3000 tasks in queue
  • Updated and optimized failure checks and logging
  • Added path and asset schema check for EE rulesets
  • Updated docs and readme

0.5.3

  • Major version removed selenium support as stable method
  • Overall improvements to performance and codebase
  • Updated docs and ReadMe

0.5.1

  • Now support both zipped shapefile as well as batch CSV upload
  • General Improvements

0.5.0

  • fixed typo in version check