Python Client Quickstart

Before you begin

Register for Earth Engine, create a Cloud project and enable the Earth Engine API according to these instructions.

Install the Earth Engine Python client library.

See this page for detailed instructions.

Python Initialization

Once you have a Cloud Project with the Earth Engine API enabled and you have installed the Earth Engine Python client library, you will need to either:

  • Run earthengine set_project ${MY_PROJECT_ID}, import the Earth Engine library, authenticate and initialize as described in this doc.
  • Pass a project ID directly to ee.Initialize().

Note that if you don't specify a project, an Earth Engine owned project will be used.

Manual asset folder creation (optional)

If the project has not been created through the Code Editor or pinned to the Code Editor as described in the Code Editor Quickstart, you may need to create an Earth Engine asset folder associated with the project as described here.

Next Steps

You should now be ready to use the Earth Engine Python client library. You may want to: