vrt.create_rgb_vrt()
Create a 3-band RGB VRT from VV and VH rasters.
Usage
vrt.create_rgb_vrt(
vv_path,
vh_path,
output_vrt,
*,
decibel_scale=False,
)Blue is VV/VH for linear inputs and VV-VH for decibel inputs.
Parameters
vv_path: str | Path | UPath-
VV raster.
vh_path: str | Path | UPath-
VH raster.
output_vrt: str | Path | UPath-
Output VRT.
decibel_scale: bool = False- Whether inputs use decibel scale.
Raises
ValueError- If the inputs have different grids.