Google Earth Engine Authors 7fdd7eb7e8 v0.1.315
PiperOrigin-RevId: 454666719
2022-06-15 19:13:48 +00:00

16 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)