Eduardo Poyart ccdcad46e9 v0.1.130
2018-01-16 10:18:46 -08:00

17 lines
318 B
Python

#!/usr/bin/env python
"""Download example."""
import ee
import ee.mapclient
ee.Initialize()
# Get a download URL for an image.
image1 = ee.Image('CGIAR/SRTM90_V4')
path = image1.getDownloadUrl({
'scale': 30,
'crs': 'EPSG:4326',
'region': '[[-120, 35], [-119, 35], [-119, 34], [-120, 34]]'
})
print path