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

Add checks for RAYPATH. Fixes #525 #537

Closed cdeline closed 2 months ago

cdeline commented 2 months ago

This pull request checks to make sure that RAYPATH is at least set with the current directory ('.'). If it's completely blank, it will error out with an informative message to check your RADIANCE installation, since those executables are probably not on the PATH. If it's a partial install with just the executables, then it will silently add the current directory ('.') to RAYPATH when RadianceObj is first initialized

cdeline commented 2 months ago

LGTM.