Sunlight script problems

Hi, I have a problem with the output of Shadowstudy.
In the resulting output, the color scale is not working and there are black pixels in places where it does not make sense. Do you know what could be the problem please?
I am attaching the used script with the file and png images.
:heart_hands: thanks

Model-230301.3dm (2.2 MB)



XX_sunlighthours_230301.gh (411.5 KB)

Hi Tomáš -
Please see https://discourse.ladybug.tools/ for questions related to the Ladybug Tools.
-wim

thanks :slight_smile: