mirror of
https://github.com/google/earthengine-api.git
synced 2025-12-08 19:26:12 +00:00
15 lines
296 B
Python
15 lines
296 B
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)
|