Skip to content
Prev 21066 / 29559 Next

Figuring out a locations local daylight hours

Ben
the maptools library in R can take care of this easily. Look for the 
sunriset function. You can get hours of daylight based on times of 
sunrise and sunset, and adjust according to whatever type of twilight 
definition you wish (i.e. civil vs. astronomical)

hope that helps

Ben

------ Original Message ------
From: "steven brey" <fierceturtle at gmail.com>
To: r-sig-geo at r-project.org
Sent: 5/20/2014 3:19:23 PM
Subject: [R-sig-Geo] Figuring out a locations local daylight hours