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
91 stars 48 forks source link

WArning if Radiance path not correct/existing #525

Closed shirubana closed 2 months ago

shirubana commented 3 months ago

Is there a way to test if Radiance paths / Raypath etc has been set correctly? So that instead of getting emails with "this doesn't work" when bifacial_radiance loads or something it ill warn the user

cdeline commented 3 months ago

Yes, do you mean to confirm that RADIANCE functions are correctly on the PATH? I was thinking about putting a check in the makeOct function (which is the first time we really require RADIANCE executables) to check that RAYPATH is set correctly. Maybe just do a quick trial dummy test using XFORM or something small to make sure that it's behaving as expected. Then give a useful warning like 'Hey, you need to set up RADIANCE correctly' if it fails?