Hi Melissa,
thanks a lot for your help.
I took care to uncheck all conversions in rawtherapee but the general problem is: even with 8 bit raw data the color interpolation can yield far more than eight bit color information in a 16 bit rgb container.
For that reason i decided to use dcraw for the test conversion in raw mode without any demosaicing in order to get the raw data written in a single layer tiff (the rggb pattern is clearly visible):
C:\Users\knorbert\Downloads\dcraw-9.12-ms-32-bit.exe -D -W -T -6 O:\CT\cr2test2\07.11.2011_NDVI__MG_2697.CR2
then i got the number of gray levels in the tiff file by
data = imread(aFile);
data = double(data);
vals = unique(data);
numvals = numel(vals)
numvals = 6044
bfopen again yields only 8 bit data.
Best regards
Norbert