|
libnova
v 0.16.0
|
Functions | |
| double LIBNOVA_EXPORT | ln_get_refraction_adj (double altitude, double atm_pres, double temp) |
| Calculate the adjustment in altitude of a body due to atmospheric refraction. More... | |
Functions relating to Atmospheric Refraction
All angles are expressed in degrees.
| double ln_get_refraction_adj | ( | double | altitude, |
| double | atm_pres, | ||
| double | temp | ||
| ) |
Calculate the adjustment in altitude of a body due to atmospheric refraction.
| altitude | The altitude of the object above the horizon in degrees |
| atm_pres | Atmospheric pressure in milibars |
| temp | Temperature in degrees C. |
Calculate the adjustment in altitude of a body due to atmosphric refraction. This value varies over altitude, pressure and temperature.
Note: Default values for pressure and teperature are 1010 mBar and 10C respectively.
References ln_deg_to_rad(), and ln_helio_posn::R.
1.8.8