variete.load#

variete.load(filepath, nodata_to_nan=True)[source]#

Load a VRaster from a file.

Parameters
  • filepath (str | Path) – The path to a GDAL-readable dataset.

  • nodata_to_nan (bool) – Whether to convert nodata values to np.nan on load

Return type

A new VRaster