oceanhackweek / ohw21-proj-bioacoustics

0 stars 8 forks source link

Calculate sun rise and sun set #5

Open NickMortimer opened 3 years ago

NickMortimer commented 3 years ago

https://github.com/sffjunkie/astral could be used for this

KevinMcGann commented 3 years ago

Astral required a region location. In order to avoid looking up the region, we added the position of the sun that will return the sun elevation and azimuth for a given lat/long and date time. positionofsun requires a UTC offset, which can be calculated through UtcOffset.