variete.vrt.raster_bands#

Functions#

raster_band_from_etree#

variete.vrt.raster_bands.raster_band_from_etree(elem)[source]#
Return type

VRTRasterBand | VRTDerivedRasterBand

Classes#

VRTDerivedRasterBand#

class variete.vrt.raster_bands.VRTDerivedRasterBand(dtype, band, nodata, color_interp, sources, pixel_function, offset=None, scale=None)[source]#

Bases: VRTRasterBand

__init__(dtype, band, nodata, color_interp, sources, pixel_function, offset=None, scale=None)[source]#
classmethod from_etree(elem)[source]#
Return type

VRTDerivedRasterBand

classmethod from_raster_band(band, pixel_function)[source]#
Return type

VRTDerivedRasterBand

pixel_function: PixelFunction | SumPixelFunction | ScalePixelFunction | MulPixelFunction | DivPixelFunction | InvPixelFunction#
to_etree()[source]#
Return type

Element

VRTRasterBand#

class variete.vrt.raster_bands.VRTRasterBand(dtype, band, nodata, color_interp, sources, offset=None, scale=None)[source]#

Bases: object

__init__(dtype, band, nodata, color_interp, sources, offset=None, scale=None)[source]#
band: int#
color_interp: str#
dtype: str#
classmethod from_etree(elem)[source]#
Return type

VRTRasterBand

nodata: UnionType[int, float, None]#
offset: UnionType[int, float, None]#
scale: UnionType[int, float, None]#
sources: list[ComplexSource | SimpleSource]#
to_etree()[source]#
Return type

Element

WarpedVRTRasterBand#

class variete.vrt.raster_bands.WarpedVRTRasterBand(dtype, band, color_interp, nodata=None)[source]#

Bases: VRTRasterBand

__init__(dtype, band, color_interp, nodata=None)[source]#
band: int#
color_interp: str#
dtype: str#
classmethod from_etree(elem)[source]#
Return type

WarpedVRTRasterBand

nodata: UnionType[float, int, None]#
to_etree()[source]#
Return type

Element