[Radiance-general] gensky

Sheng Yu mintsheng at gmail.com
Wed Sep 12 13:51:11 PDT 2007


Hi,

I have a question on gensky. It is stated in the manual that "If the
time is preceded by a plus sign ('+'), then it is interpreted as local
solar time instead." However, I use the following command:
gensky 3 21 +10.00EST -a 40.77 -o 73.967
The program echoes:
gensky: bad time format: +10.00EST

I look into gensky.c and find out that
if ( (tsolar = *cp == '+') ) cp++;
if (tsolar || !isalpha(*cp)) {
		fprintf(stderr, "%s: bad time format: %s\n", progname, hs);
		exit(1);
}
If tsolar is 1, then the program will exit. Does it mean that the
local solar time is not supported? Thanks.

Yu Sheng



More information about the Radiance-general mailing list