geetools.ImageCollection.ImageCollectionAccessor.iloc#
- geetools.ImageCollection.ImageCollectionAccessor.iloc(index)#
Get Image from the ImageCollection by index.
- Parameters:
index (int) – Index of the image to get.
- Returns:
ee.Image at the specified index.
- Return type:
ee.Image
Examples
import ee, geetools ee.Initialize() ic = ee.ImageCollection('COPERNICUS/S2_SR'); geom = ee.Geometry.Point(-122.196, 41.411); ic2018 = ic.filterBounds(geom).filterDate('2019-07-01', '2019-10-01') ic2018.geetools.iloc(0).getInfo()