Initialize Earth Engine.


In [ ]:
# Load code to setup authorization for an IPython Notebook. Note that this is a temporary step
# that is required until the Earth Engine Python API is updated to include this logic.
%run 'authorize_earth_engine_in_notebook.ipynb'

# Initialize Earth Engine
# Note that we are calling a function defined in the previously run IPython Notebook, rather than
# the typical call to ee.Initialize()
ee_initialize()

Image objects

Display a list of methods for Earth Engine Image objects.


In [ ]:
image_object = ee.Image()
[method for method in dir(image_object) if not method.startswith('_')]

In [ ]:
image = ee.Image('srtm90_v4')

Display an Earth Engine generated image, using IPython's ability to render an image obtained from a URL.


In [ ]:
from IPython.display import Image
Image(url=image.getThumbUrl({'min':0, 'max':3000}))

In [ ]:


In [ ]: