Data Lab node

Sun Position

Where the sun is for a place, right now — computed on this Mac, no network. Elevation in degrees above the horizon (negative below). Day Fraction is time as living things keep it: 0.21 at sunrise, 0.79 at sunset, day and night each stretched to fit, so a dawn chorus follows the season, not the clock. Dawn and Dusk rise around the horizon, Night grows below it. Hours Offset moves the clock to rehearse a sunrise in the afternoon.

Inputs

PortTypeDefault
EnableOff stops the outputs.booltrue
LatitudeThe place, degrees north (default Liepāja).float56.51
LongitudeThe place, degrees east.float21.01
Hours OffsetMoves the clock by this many hours — rehearse a sunrise in the afternoon. 0 = now.float0

Outputs

PortType
Elevationfloat
Day Fractionfloat
Dawnfloat
Duskfloat
Nightfloat
Daylightbool
Sunrisestring
Sunsetstring

Open Sun Position in the interactive catalog →

Sun Position is one of 381 nodes in Grafit Pro.

Free download. Every feature for 7 days, no card. Then €99.99 once — or keep playing your projects as a Player.

More Data Lab nodes