Problems in stats related to the modifications made to remove gdal dependencies
The changes made to remove the dependencies to gdal brought modifications on the reading of dataset in the PatchDataset class which is used by the stats tool. The tool can't correctly find the right number of bands in an image and read it.