RasterType.get_mask

RasterType.get_mask(mask_id: str) Band[source]

Gets the mask corresponding to the given id.

Parameters:

mask_id (str) – Id of the mask

Returns:

the mask corresponding to the given id, or None if no mask corresponds to

the id

Return type:

Band