Icon

GEE-Quick-Tutorial-02

Step 1- Google Authenticator

Recommended: Authentication with Service Account

  1. Choose Service Account for Authentication Type

  2. For Authentication Key, choose JSON for Type. Under JSON file, use File Browse button to locate your local JSON file

  3. For Scopes of access, select Custom under Scope Type, and click Add Scope. In the box under Scope/ Permission, input : https://www.googleapis.com/auth/earthengine. For export result to Google Cloud Platform Bucket: Additionally add https://www.googleapis.com/auth/cloud-platform

  4. Click Apply and Execute to execute the node.

Optional: Interactive Authentication

  1. Choose Interactive for Authentication Type

  2. For Scopes of access, select Custom under Scope Type, and click Add Scope. In the box under Scope/ Permission, input : https://www.googleapis.com/auth/earthengine. For export result data to Google Drive: Additionally add https://www.googleapis.com/auth/drive. For export result to Google Cloud Platform Bucket, use the same scope mentioned above.

  3. Under Authentication, click Login. Follow the steps in the prompt browser for Google Account settings. When completed, the browser will show "Received verification code. You may now close this window."

  4. Go back to KNIME and this node, click Apply and Execute to execute the node.

Step 2- Google Earth Engine Connector

  1. Input your Project ID associated to your Service account or Google Account used for Interactive Authentication

  2. The Project ID is also contained in the file name of JSON Key, e.g., ee-knimecga in the filename of ee-knimecga-xxxxxxx.json

  3. We build a component GEE Quick Connector, in which a String manipulation node automatically extract the Project ID from the file name and feed it into Google Earth Engine Connector node.


Step 3- GEE Image Reader

Keep the default Image name


Step4- GEE Image View

  1. Keep the default setting for Bands to Visualize

  2. Set Palette to: 000080,00FFFF,00FF00,FFFF00,FF0000,FFFFFF

  3. Click Show Advanced Setting to expand more options

  4. Uncheck Auto Statistics

  5. Set 0 for minimum, 4000 for maximum


KNIME Google Earth Engine Extension Quick Tutorial -02

Lingbo Liu, Harvard Center for Geographic Analysis

Google Authenticator
Google Earth Engine Connector
JSON Key with Default Name
GEE Quick Connector
GEE Image Reader
GEE Image View
GEE Image Reader
GEE Image View

Nodes

Extensions

Links