hydromt.gis_utils.create_vrt#

hydromt.gis_utils.create_vrt(vrt_path: str, files: list = None, files_path: str = None)[source]#

Create a .vrt file from a list op raster datasets.

Either a list of files (files) or a path containing wildcards (files_path) to infer the list of files is required.

Parameters:
  • vrt_path (str) – Path of the output vrt

  • files (list, optional) – List of raster datasets filenames, by default None

  • files_path (str, optional) – Unix style path containing a pattern using wildcards (*) n.b. this is without an extension e.g. c:\temp\*\*.tif for all tif files in subfolders of ‘c:temp’