I get the following error using klems_half.cal:
rcontrib: C:\Program Files\Radiance\lib\klems_half.cal, line 32:
rcontrib: khaccum(7) + khazn(azi,360/khnaz(8))
rcontrib: ^ bad constant expression
It seems khnaz
only has 7 elements. If I remove the line that generates the error, I get the results I expect.