[Radiance-general] Genskyvec.pl error on Windows (was: Re: Python script)

Guglielmetti, Robert Robert.Guglielmetti at nrel.gov
Wed Jul 18 12:43:27 PDT 2012


Looked at this a bit this morning, and actually I can't get the correct behavior from Genskyvec on Windows even using the program directly. A really simple example:

C:\gensky 6 21 12 <return>
# gensky 6 21 12
# Local solar time: 11.84
# Solar altitude and azimuth: 75.5 -8.8
# Ground ambient level: 18.2

void light solar
0
0
3 7.18e+006 7.18e+006 7.18e+006

solar source sun
0
0
4 0.038263 -0.247650 0.968094 0.5

void brightfunc skyfunc
2 skybr skybright.cal
0
7 1 3.16e+001 3.02e+001 1.65e+000 0.038263 -0.247650 0.968094

C:\gensky 6 21 12 | genskyvec.pl -m 1
Bad sky description!

Gensky prints a valid description to STDOUT, but when I pipe it to genskyvec, it fails the error check loop in lines 25-45. I'm using v 2.8 of genskyvec.pl, from 2012.06.28. Ideas?

- Rob



More information about the Radiance-general mailing list