Hello,
Raster class of flopy.utils does not work with rasters including unsigned integer data (like uint8). If it is a definitive limitation of that class, this may be written in the docstring. If not but too complex to automatically determine all dtypes, an optional parameter may be added to enable the user to give dtype of the raster.