Menu

#3 Is there a way to calculate civil twilight using libnova?

open-fixed
nobody
None
5
2012-01-13
2012-01-13
Anonymous
No

I need to calculate sunset, evening twilight, morning twilight and sunrise. Libnova has methods to calculate sunrise, transit and sunset, but I can't find methods for calculating twilight. Can anyone help point me in the right direction for how to use libnova to calculate this?

Kind regards,

Lasse

Discussion

  • Anonymous

    Anonymous - 2012-01-13

    Sorry, I figured it out. The solution is to use ln_get_solar_rst_horizon with a horizon of -6.0 degress for civil twilight

     

    Last edit: Anonymous 2013-11-26
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.