Code developed for the senior thesis of Alexandra Turrini to study incoming solar radiation.