I want to know how to calculate the sun vector

I know I can use
info=mod.shadow_info info["ShadowTime"] = Time.utc(2023,4,21,9,00)

But I know the declination, altitude, azimuth, latitude, longitude, hour angle, etc. of the sun, how can I calculate the direction vector of the sun?

Perhaps ?

vector = info["SunDirection"]
1 Like