Crates.io | astronav |
lib.rs | astronav |
version | 0.2.5 |
source | src |
created_at | 2024-05-14 07:30:21.03011 |
updated_at | 2024-05-25 09:05:48.189239 |
description | A rust library featuring algorithms for positional astronomy |
homepage | https://github.com/omkarium/astronav |
repository | https://github.com/omkarium/astronav |
max_upload_size | |
id | 1239249 |
size | 70,395 |
To create a pure rust implementation using popular positional astronomy algorithms
Altitude
and Azimuth
of Stars using RA (Right Ascension)
and Dec (Declination)
values.coords::noaa_sun
and coords::sun
modules.coords::noaa_sun
is available only as a feature flag --features "noaa-sun"
.time
module
The Sun related modules coords::noaa_sun
and coords::sun
, cannot be fully trusted (yet) for a higher degree of accuracy. The calculations are made using certain generally available algorithms from certain popular Almanacs such as the one written by Meesus, and the algorithms published by NOAA. For example, when you take the SunRise, the SunSet and the Noon time using the Structs made available, you would typically see up to 2 mins of variation when compared with what is shown in popular apps like Stellarium. The same applies for angles such as Azimuth, Zenith, Declination, Hour Angle etc. However, we must keep in mind that there is no single source of truth available online to these things and getting precise results are extremely difficult than we think.