RasterType.has_channel

RasterType.has_channel(channel: BandChannel) bool[source]

Checks if the product type contains the expected channel.

Parameters:

channel (eolab.georastertools.product.BandChannel) – Band channel

Returns:

True if this RasterType contain the channel

Return type:

bool