ies2rad Question - specifying color temperature

Hi Everyone,

When using ies2rad, I am trying to set the color temperature of a various
LED light sources to a specific color temperature that I want (e.g. 2700k
or 2400k...).

Background:
According to the ies2rad man page
<http://radsite.lbl.gov/radiance/man_html/ies2rad.1.html>, there are a few
variables that govern this:
-f *lampdat*
-t *lamp*
-c *red grn blu*
*-*u *lamp*

The man page refers to the lamp.tab look up table which lists items in the
following format:

···

#
/deluxe warm white/ .440 .403 .85
/warm white deluxe/ (deluxe warm white)
/deluxe cool white/ .376 .368 .85
etc.

If I am looking to set my own x y chromaticity, rather than use whatever is
in the .ies file header, which option should I use?

When I try to use the "-u" option, which allows you to set the default lamp
color according to the entry for *lamp* in the lookup table (*lamp.tab), *I
have tried including the lamp lookup term as both: -u deluxe warm white and
-u /deluxe warm white/ in the ies2rad command but I get the following
errors:
[image: Inline image 2]When I run the command with simple variables, e.g.:
ies2rad -df -m 0.88 -o CAT CL_TokistarG14Clear_VI-EX_2400K_G14-C.ies

it runs fine.

I'm not sure how to use the -u (or -t, or -f) in conjunction with the
lamp.tab look up table to specify my own color temperature. The only way I
have had success in doing this is to convert a particular color temperature
(e.g. 2400k) to R, G, B values and then use the -c term followed by the
converted RGB values.

Thank you!
Kera