Just a small suggestion to add raf:xtranslayout to the CFA composite definition. It's a 6x6 grid, and the data is rendered in order.
So, for example, GRBGBR BGGRGG RGGBGG GBRGRB RGGBGG BGGRGG would become
[Green,Red,Blue,Green,Blue,Red][Blue,Green,Green,Red,Green,Green] ... etc in the composite.
- J