NOAA Solar


Inspired by Ted Ngai’s work, the NOAA sun calc component implements and National Oceanic and Atmospheric Administration’s free online Solar Calulation tool and equation found here. This component uses a Latitude and Longitude coordinate and GMT offset value with a date and time and returns the sun’s vector at the specified parameters as well as a series of other datapoints at the given sample.


NOAA Sun Calc

LTInDoubleItemThe Latitude value in degrees
LGInDoubleItemThe Longitude value in degrees
DTInDateTimeItemA date and time value using grasshopper’s format
TZInIntegerItemGMT offset in integer
SROutDateTimeItemTime of Sunrise at specified location and date
SSOutDateTimeItemTime of Sunset at a specified location and date
SNOutDateTimeItemThe time at which the sun transits the celestial meridian
SDOutDoubleItemDuration of sunlight in minutes
ZNOutDoubleItemThe angle at the sun’s Zenith
EVOutDoubleItemThe Elevation angle at the given time
EROutDoubleItemThe Elevation angle with refraction accounted for at a given time
AZOutDoubleItemThe Azimuth angle at a given time
VTOutVector 3dItemThe resultant sun Vector


Minimum Requirements

PlatformRhino 5, Grasshopper
VersionGrasshopper 0.9.0075
TypeC# Component