[Radiance-general] RE: GenCumulativeSky - problem of reading .epw file

J. Alstan Jakubiec alstan at jakubiec.net
Mon Nov 29 19:41:01 PST 2010


> D:\test> GenCumulativeSky +s2 -a 1.36667 -o 103.96667 -m 120 -E -time 0  
> 24 -date 1 1 12 31 SGP_Singapore.486980_IWEC.epw > sgsky.cal
>
> resulted in the following messages:
>
>> Error opening: SGP_Singapore.486980_IWEC.epw
>> GenCumulativeSky: Error reading climate file  
>> SGP_Singapore.486980_IWEC.epw

Dear Kam,

I just played around with the gencumulativesky.exe that ships with DIVA  
and the input for the *.epw file location is a little weird. Here is what  
I found:

A full windows directory path does not work specified with either  
backslashes or forward slashes. i.e. C:\boston.epw and C:/boston.epw both  
cause your error.

Putting the simple filename as in the example you show above also causes  
such an error.

However, there is light at the end of the tunnel! For me, putting a path  
name such as ./boston.epw works.
example: GenCumulativeSky +s1 -a 1 -o -104 -m -105 -r -E -time 0 24 -date  
1 1 12 31 ./boston.epw > example.cal

This markup is exactly what DIVA uses in its generated batch files;  
however I was not aware that conventional file location inputs would break  
the program. Just make sure that your current working directory and the  
location of the epw file are the same.

Let us know if you continue to have problems.

Best of luck,
Alstan


On Mon, 29 Nov 2010 22:23:49 -0500, Kam Shing Leung <citykam at yahoo.com>  
wrote:

> Dear Christoph,
>
> Thanks for your quick reply.  I sent it to this list because people here  
> are
> probably more interested in using the .exe file directly.  I'm glad that  
> it
> catches your attention here.
>
> Back to the question.  I have typed in the following to the DOS command  
> line,
> and have put the weather file "SGP_Singapore.486980_IWEC.epw" in the  
> "D:\test"
> folder.
>
> D:\test> GenCumulativeSky +s2 -a 1.36667 -o 103.96667 -m 120 -E -time 0  
> 24 -date
> 1 1 12 31 SGP_Singapore.486980_IWEC.epw > sgsky.cal
>
> It resulted in the following messages:
>
>> Error opening: SGP_Singapore.486980_IWEC.epw
>> GenCumulativeSky: Error reading climate file  
>> SGP_Singapore.486980_IWEC.epw
>
> Could you take a look and see whether I did anything wrong?  Thanks a  
> lot!
>
> Regards,
> Kam
>
>
>


-- 
J. Alstan Jakubiec
http://www.jakubiec.net
(912) 247-1086



More information about the Radiance-general mailing list