[Radiance-general] problem of gencumulativesky driven through Python

Joe Smith the.oat.cracker at gmail.com
Wed Feb 18 19:32:41 PST 2015


Hi, guys,

I don't know if you can kindly advise me on a Python related problem, or
suggest a source for help:

1. the following gencumulativesky command runs OK in the terminal of Mac OS
using London's weather file:
*GenCumulativeSky  +s1  -a 51.15  -o 0.18  -m -0.0 -h 0  -E  -time 0 24
-date 1 1 12 31 ./London.epw > ./gcs_London.cal*

... with two lines of error message:


*There were 4586 sun up hours in this climate fileTotal Ibh/Lbh: 0.000000*

2. But I can't get it working at all by running a Python script with the
following contents:


*import oscmd = "GenCumulativeSky  +s1  -a 51.15  -o 0.18  -m -0.0    -h 0
-E  -time 0 24  -date 1 1 12 31 ./London.epw >
./gcs_London.cal"os.system(cmd)*

There is no error message in the Python IDLE, but the .cal file generated
is zero ...


Moreover, I got a lot more error messages when running the gencumulativesky
program directly in the terminal of Mac OS X using Singapore's weather file:

Command:
*GenCumulativeSky  +s1  -a 1.37  -o -103.98  -m -120.0    -h 0  -E  -time 0
24  -date 1 1 12 31 ./SGP_Singapore.486980_IWEC.epw > ./gcs_SG.cal*

Errors:




*Error!  Solar altitude < 6 degrees and Idh > 10 W/m^2 on day 1!
Attempting to continue!......Error!  Solar altitude < 6 degrees and Idh >
10 W/m^2 on day 365!  Attempting to continue!There were 4354 sun up hours
in this climate fileTotal Ibh/Lbh: 0.000000*


Thanks for your help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20150219/da6ae0b9/attachment.html>


More information about the Radiance-general mailing list