containsBandNames#
- geetools.ee_image_collection.ImageCollectionAccessor.containsBandNames(bandNames, filter)#
Filter the ImageCollection by band names using the provided filter.
- Parameters:
- Returns:
A filtered ImageCollection
- Return type:
Examples
import ee, LDCGEETools collection = ( ee.ImageCollection("LANDSAT/LC08/C01/T1_TOA") .filterBounds(ee.Geometry.Point(-122.262, 37.8719)) .filterDate("2014-01-01", "2014-12-31") ) filtered = collection.geetools.containsBandNames(["B1", "B2"], "ALL") print(filtered.getInfo())