NREL / bifacial_radiance

Toolkit for working with RADIANCE for the ray-trace modeling of Bifacial Photovoltaics
https://bifacial-radiance.readthedocs.io
BSD 3-Clause "New" or "Revised" License
83 stars 46 forks source link

Error processing climate file EPWs #480

Open Origin-Zhang opened 8 months ago

Origin-Zhang commented 8 months ago

image

When function "demo.genCumSky()" from the tutorial code is used, situation "Error processing climate file EPWs" occurred. The python code reads the "EPWs\metdata_temp.csv" normally, but it seems that the "gencumulativesky.exe" did not read the "EPWs\metdata_temp.csv" file normally. The "gencumulativesky.exe" program is placed in the "Radiance\bin" as required. What is the reason for this? Thank you very much!

Origin-Zhang commented 8 months ago

image 现在"demo.genCumSky()" 的问题解决了,但是在“demo.makeOct(demo.getfilelist()) ”执行时继续出现了问题,显示“cannot find file "objects\test-module.rad"”和“empty file” The problem of "demo.genCumSky()" was solved, but the problem continued to occur when executing “demo.makeOct(demo.getfilelist()) ”,and error “cannot find file "objects\test-module.rad"” and “empty file” are displayed.What is the reason for this? Thank you very much!

shirubana commented 8 months ago

did you run makeModule() first?

S.

Origin-Zhang commented 8 months ago

did you run makeModule() first?

S. image image

Yes, I followed the tutorial and ran the makeModule() first. Situation "Error processing climate file EPWs" occurred before because the company's encryption software encrypted the csv file, causing "gencumulativesky.exe" to be unable to read "metdata_temp.csv". But now problems continue to occur when running "makeOct(demo.getfilelist()) ", but the ".rad" file and ".cal" file are not encrypted. What should I do about this situation? The tutorial currently runs fine on a private computer.