Function practical_astronomy_rust::coordinates::rising_and_setting
source · pub fn rising_and_setting(
ra_hours: f64,
ra_minutes: f64,
ra_seconds: f64,
dec_deg: f64,
dec_min: f64,
dec_sec: f64,
gw_date_day: f64,
gw_date_month: u32,
gw_date_year: u32,
geog_long_deg: f64,
geog_lat_deg: f64,
vert_shift_deg: f64
) -> (String, f64, f64, f64, f64, f64, f64)
Expand description
Rising and Setting times.
§Arguments
ra_hours
– Right Ascension, in hours.ra_minutes
– Right Ascension, in minutes.ra_seconds
– Right Ascension, in seconds.dec_deg
– Declination, in degrees.dec_min
– Declination, in minutes.dec_sec
– Declination, in seconds.gw_date_day
– Greenwich Date, day part.gw_date_month
– Greenwich Date, month part.gw_date_year
– Greenwich Date, year part.geog_long_deg
– Geographical Longitude, in degrees.geog_lat_deg
– Geographical Latitude, in degrees.vert_shift_deg
– Vertical Shift, in degrees.
§Returns
rise_set_status
– “Never Rises”, “Circumpolar”, or “OK”.ut_rise_hour
– Rise time, UT, hour part.ut_rise_min
– Rise time, UT, minute part.ut_set_hour
– Set time, UT, hour part.ut_set_min
– Set time, UT, minute part.az_rise
– Azimuth angle, at rise.az_set
– Azimuth angle, at set.