Varma K
Varma K

Reputation: 31

Google Earth Engine using Python

How should a beginner start learning Google Earth Engine coding with python using colab? I know python, but how do I come to know about the objects of images and image classification.

Upvotes: 2

Views: 1109

Answers (3)

Mr. Holy
Mr. Holy

Reputation: 1

you can access GEE python API easily from these two commands after you are importing ee(explanation in this link):

  • first trigger the authentication:

    ee.Authenticate()
    
  • second initialize the library:

    ee.Initialize()
    

in case you face with AttributeError: module 'collections' has no attribute 'Callable', use this:

   import collections
   collections.Callable = collections.abc.Callable 

In addition, you can use the geemap library for visualization maps which represent in this link.

Upvotes: 0

Alirez4
Alirez4

Reputation: 11

i use geemap package for convert shape file to earth engine variable without uploading file on assets

Upvotes: 1

hillsonghimire
hillsonghimire

Reputation: 573

https://github.com/csaybar/EEwPython

https://www.earthdatascience.org/tutorials/intro-google-earth-engine-python-api/

https://geoscripting-wur.github.io/Earth_Engine/

And so, there are lot of resources online to get started with Google Earth Engine in Colab or local python notebooks. Regarding about image classification, you need to first understand the basics of remote sensing, classification type you want to perform(several methods under category of supervised and/or unsupervised, and choose one that best fits your analysis or requirement.).

Similarly, With python notebooks, you can leverage the power or python and its libraries to perform complex analysis and visualizations. scipy, numpy, arrays, rasterio, matplotlib, geopandas, etc. are some frameworks that you might consider along the way.

Upvotes: 3

Related Questions