Google Earth Engine#
The earthengine tool is a utility program that allows you to manage Google Earth Engine (GEE) assets and tasks from the command line. It is installed automatically when you install the Python API. To check whether the tool is installed and functioning correctly, enter the following in a command line:
$ earthengine
If the tool is properly installed, it will print out a short summary of available commands. To get help on a specific command, use:
$ earthengine command -h
When you first install the Python API, you will need to login using the Authenticate
command described below.
Available commands#
More information on the available command can be found on the Google API website.
$ authenticate # Prompts the user to authorize access to GEE via OAuth2.
$ acl # Prints or updates the access control list of the specified asset.
$ asset # Prints or updates metadata associated with a GEE asset.
$ cp # Creates a new GEE asset as a copy of another asset.
$ create # Creates assets and folders.
$ ls # Prints the contents of a folder or collection.
$ licenses # Prints the name and license of all third-party dependencies.
$ du # Prints the size and names of all items in a given folder or collection.
$ mv # Moves or renames a GEE asset.
$ model # TensorFlow model-related commands.
$ rm # Deletes the specified assets.
$ set_project # Sets the default user project to be used for all API calls.
$ task # Prints information about or manages long-running tasks.
$ unset_project # Unsets the default user project to be used for all API calls.
$ upload # Uploads assets to GEE.
$ upload_manifest # Uploads an image to GEE using the given manifest file.
$ upload_table_manifest # Uploads a table to GEE using the given manifest file.