tilezilla.stores.vrt module

Export multiband imagery in VRT compatibility format

Notes

  • Obviously works with GeoTIFF store format
  • Seems to work with NetCDF format as long as the NetCDF dataset is properly georeferenced (i.e., use clover to make sure it is!)
class tilezilla.stores.vrt.VRT(datasets, bidx)[source]

Bases: object

Create a VRT from a band in one or more datasets

Only inteded right now to assist in visualizing (i.e., in QGIS) with multiple Band`s from one `BaseProduct within one Tile.

Parameters:
  • datasets (list[RasterReader]) – rasterio raster dataset
  • bidx (list[int]) – Band indices of datasets to include
write(path)[source]

Save VRT XML data to a filename

Parameters:path (str) – Save VRT to this filename