Rasters with mixed dtypes


amaury.dehecq@...
 

Hello everyone,

I was wondering if there are any good examples/reasons for having rasters that contain bands with mixed dtypes e.g. ('uint8', 'float32').

This seem to be mostly supported in rasterio, but functions like rasterio.open accept only one dtype. Furthermore, mixed dtypes are not supported in GTiff apparently: https://lists.osgeo.org/pipermail/gdal-dev/2010-August/025657.html

I'm just wondering if I should make the effort to accept mixed dtypes in a library I'm developing, which is based upon rasterio.

Thanks!

Amaury

Join main@rasterio.groups.io to automatically receive all group messages.