I am calculating the volume in a raster .tif file.
My current approach is area * height where I calculate the area in the .tif file and multiply it by elevation value of .tif file.
I have used Raster Surface Volume algorithm of QGIS, Raster Volume of SAGA GIS and other techniques. But I want to use only Rasterio package.
Is there any in-built functionality of Rasterio which calculates the volume of a raster .tif file ?