Skip to content

Commit

Permalink
updated v0.0.9
Browse files Browse the repository at this point in the history
Fixed issues with attribute and dependency
Uses poster for streaming upload
  • Loading branch information
samapriya committed Jan 2, 2019
1 parent 7708e4d commit 3b489f9
Show file tree
Hide file tree
Showing 11 changed files with 317 additions and 471 deletions.
30 changes: 10 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,22 +48,21 @@ As usual, to print help:

```
usage: geeup.py [-h]
{update,quota,zipshape,upload,selupload,tabup,seltabup,tasks,delete}
{update,quota,zipshape,upload,selupload,seltabup,tasks,delete}
...
Simple Client for Earth Engine Uploads with Selenium Support
positional arguments:
{update,quota,zipshape,upload,selupload,tabup,seltabup,tasks,delete}
{update,quota,zipshape,upload,selupload,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.
upload Batch Asset Uploader using Selenium
selupload Batch Asset Uploader for Planet Items & Assets using
Selenium
tabup Batch Table Uploader.
seltabup Batch Table Uploader using Selenium.
tasks Queries current task status
[completed,running,ready,failed,cancelled]
Expand All @@ -72,6 +71,7 @@ positional arguments:
optional arguments:
-h, --help show this help message and exit
```

To obtain help for a specific functionality, simply call it with _help_ switch, e.g.: `geeup zipshape -h`. If you didn't install geeup, then you can run it just by going to *geeup* directory and running `python geeup.py [arguments go here]`
Expand Down Expand Up @@ -174,22 +174,6 @@ Optional named arguments:
Google Cloud Storage bucket name.
```

### gee table upload
This tool allows you to batch download tables/shapefiles to a folder. It uses a modified version of the image upload and a wrapper around the earthengine upload cli to achieve this while creating folders if they don't exist and reporting on assets and checking on uploads. This only requires a source, destination and your ee authenticated email address.

```
usage: geeup tabup [-h] --source SOURCE --dest DEST [-u USER]
optional arguments:
-h, --help show this help message and exit
Required named arguments.:
--source SOURCE Path to the directory with zipped folder for upload.
--dest DEST Destination. Full path for upload to Google Earth
Engine, e.g. users/pinkiepie/myponycollection
-u USER, --user USER Google account name (gmail address).
```

### gee seltabup
This tool allows you to batch download tables/shapefiles to a folder. It uses a modified version of the image upload and a wrapper around the earthengine upload cli to achieve this while creating folders if they don't exist and reporting on assets and checking on uploads. This only requires a source, destination and your ee authenticated email address. This tool also uses selenium to upload the tables.

Expand Down Expand Up @@ -232,6 +216,12 @@ optional arguments:

# Changelog

### v0.0.9

- fixed attribution and dependecy issues
- Included poster to improve streaming uploads
- All uploads now use selenium

### v0.0.8

- fixed issues with unused imports
Expand Down
2 changes: 1 addition & 1 deletion geeup/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

__author__ = 'Samapriya Roy'
__email__ = '[email protected]'
__version__ = '0.0.8'
__version__ = '0.0.9'
19 changes: 19 additions & 0 deletions geeup/batch_remover.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
__copyright__ = """
Copyright 2016 Lukasz Tracewski
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
__license__ = "Apache 2.0"

import fnmatch
import logging
import sys
Expand Down
285 changes: 0 additions & 285 deletions geeup/batch_tuploader.py

This file was deleted.

Loading

0 comments on commit 3b489f9

Please sign in to comment.