We have a quadrupel of values f.e. daylight:
2162 1024 1024 1641 (RGGB) i think we can merge G1 and G2 into one value. -> so changing into a tripel
2162 1024 1641. if i look into quoted values, we set one value (G) as absolute 1, we set R and B into relation to G.. should work..
(1024/2162) (1024/1024) (1024/1641) ->
0.473635 1 0.624 (5200°K)
(its not far away from the values i wrote above

)
But i'm asking for the values AsShot measured right before the recording (or with the first frame). i think, it could be worth, saving them into the raw_rec_header..
(edit) In the chdk-source theres (line110) the generation of the array (3*rational = 6*int) and in save_dng fields [2] and [4] are statically changed (line567/568)
static int cam_AsShotNeutral[] = {1000,1000,1000,1000,1000,1000};
//..
cam_AsShotNeutral[2] = 2477; /* 5D3 6000K */
cam_AsShotNeutral[4] = 1462;
cam_AsShotNeutral[] = {1000,1000,2477,1000,1462,1000};
GRB? instead of RGB?
2477 1024 1462 -> (5D3@6000°K) -> 0.41340 1 0.70041
data from marekks list (60D/1100D) -> 2330 1024 1507 -> 0.43948 1 0.67949