[Radiance-general] Strange gendaylit behavior

Rob Guglielmetti rob.guglielmetti at gmail.com
Fri Oct 7 15:42:35 PDT 2011


I probably have an odd configuration on my machine, but I'm having trouble
diagnosing this problem.

If I call gendaylit with these parameters, I get junk in the output sky
description:

rgugliel$ gendaylit 7 19 19:00:00 -a 39.740000000000002 -o
-105.18000000000001 -m -105.0 -L 0.0 1926.55187439894
# gendaylit 7 19 19:00:00 -a 39.740000000000002 -o -105.18000000000001 -m
-105.0 -L 0.0 1926.55187439894
# Ground ambient level: nan

void brightfunc skyfunc
2 skybright perezlum.cal
0
10 nan nan nan nan nan nan nan -0.907109 0.416674 0.059465

OK, so where is my gendaylit?

which gendaylit
/usr/local/bin/gendaylit

OK, so if I call that specific executable, I get this:

rgugliel$ /usr/local/bin/gendaylit 7 19 19:00:00 -a 39.740000000000002 -o
-105.18000000000001 -m -105.0 -L 0.0 1926.55187439894
# /usr/local/bin/gendaylit 7 19 19:00:00 -a 39.740000000000002 -o
-105.18000000000001 -m -105.0 -L 0.0 1926.55187439894
Warning : skyclearness or skybrightness out of range ;
 Check your input parameters
Warning : skyclearness or skybrightness out of range ;
 Check your input parameters
Warning : skyclearness or skybrightness out of range ;
 Check your input parameters
Warning : skyclearness or skybrightness out of range ;
 Check your input parameters
sky clearness or sky brightness out of range 1.000000
 74434650220083800562091791272162503847257343566676277805826026351882917179884747180439543170910077023728890544527980267722524523537281630301534426272391252609311406925055899551665934885241866457242010167443382973430564036426324486211258871034413056.000000

which is much more useful, because those STERR warnings I can check for and
use an alternative sky generation method for that timestep, or double check
input parameters. The former method slips past my gendaylit STERR checks and
then oconv barfs on that bogus sky description.

I don't THINK I have any other copies of gendaylit lying around, certainly
not in my path, but it appears that either gendaylit behaves differently
when called with a full path (unlikely) or I have something else going on. I
have lost many hairs today grinding on this. This is stupid. Please help.

- Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20111007/0b45679e/attachment.html>


More information about the Radiance-general mailing list