GEE Landtrend trend analysis, using Colab python for analysis

1. Environment settings


Import Earth Engine API and verify your EE account This step requires persistence :)

  1. Run the block below, and if it pops up, select "Run anyway" and open the resulting link
  2. Choose a cloud project to use with this notebook. If you don't have a cloud-enabled project yet, choose Select Project > Create a New Cloud Project > and give it a good name (this is permanent). Then, you may need to accept the Google Cloud Terms of Service. Open the link provided and select "Agree and Continue" on the page.
  3. Click "Generate Token" (check the read-only scope)
  4. Choose your EE account
  5. Click "Continue" (not "Back to Security").
  6. Check both boxes and select "Continue

Copy the authorization code at the bottom of the page and paste it in the code block below
If you are authenticated, you will see "Authorization token saved successfully" instead of a box to paste the code

import ee
ee.Authenticate()
ee.Initialize()

 Import the LandsatLinkr library from GitHub. This way we can call imported functions directly.

!rm -f -r /content/ee-LandsatLinkr
!git clone https://github.com/gee-community/ee-LandsatLinkr --quiet
import sys
sys.path.append("/content/ee-LandsatLinkr")
from landsatlinkr import *

/content/e

Guess you like

Origin blog.csdn.net/qq_31988139/article/details/132252193