save_raster(raster: Raster, path)

Save a Raster object to a file.

Parameters:
raster : Raster

The Raster object to save.

path : str

The path to the output file.