pub fn atmospheric_refraction(
    true_ra_hour: f64,
    true_ra_min: f64,
    true_ra_sec: f64,
    true_dec_deg: f64,
    true_dec_min: f64,
    true_dec_sec: f64,
    coordinate_type: String,
    geog_long_deg: f64,
    geog_lat_deg: f64,
    daylight_saving_hours: i32,
    timezone_hours: i32,
    lcd_day: f64,
    lcd_month: u32,
    lcd_year: u32,
    lct_hour: f64,
    lct_min: f64,
    lct_sec: f64,
    atmospheric_pressure_mbar: f64,
    atmospheric_temperature_celsius: f64
) -> (f64, f64, f64, f64, f64, f64)
Expand description

Calculate corrected RA/Dec, accounting for atmospheric refraction.

NOTE: Valid values for coordinate_type are “TRUE” and “APPARENT”.

§Returns

  • corrected RA hours,minutes,seconds
  • corrected Declination degrees,minutes,seconds