Hello,
I am running a point in time circadian lighting calculation with LARK v3. I am getting an error with the Perez Spectral Sky Component. Any thoughts? @Clotilde
Hello,
I am running a point in time circadian lighting calculation with LARK v3. I am getting an error with the Perez Spectral Sky Component. Any thoughts? @Clotilde
Hi @Reinhardt ,
It seems the issue is with line 177 of the “Spectral Sky and Sun” component of Lark v3, hence probably something related with running the gendaylit command to get solar RGB colors. Since this code was developed by Bo Jung (together with Mehlika Inanici, Zining Cheng, and Marty Brennan), they will be better able to help you on this one. I will email them with your issue as they don’t seem to be active on the forum.
Sorry I am not able to help further!
Cheers,
Clotilde
Now that you say that, it might have to do with installing Lark…let me double check that also because I just got a new laptop and maybe the radiance lib and bin paths are not correctly set
Update: with a new laptop, I forgot to follow the Lark GitHub installation steps (GitHub - larkspectral/Lark_Spectral_Lighting: Lark Spectral Lighting). It is important to follow step 2 for the components to work properly when gendaylit command is executed. Updated my env variables and all works now.
In Windows, search for “Edit the system environment variables”, and make sure that for the “PATH” and “RAYPATH” variables, the Radiance installation directory paths (C:\Radiance\bin and C:\Radiance\lib) are at the top of the list, above any other path of software using Radiance such as Daysim. Once you saved the environment variables, open the terminal and type e.g. “where gendaylit”. The first path displayed should be the one of your original Radiance directory (C:\Radiance\bin\gendaylit.exe).