diff --git a/src/novas.c b/src/novas.c index 7044d967..4f4db928 100644 --- a/src/novas.c +++ b/src/novas.c @@ -6857,7 +6857,7 @@ short transform_cat(enum novas_transform_type option, double jd_tt_in, const cat * geocenter, components in AU. * @param[out] limb_ang [deg] Angle of observed object above (+) or below (-) limb in degrees, * or NAN if reurning with an error. It may be NULL if not required. - * @param[out] nadir_ang [deg] Nadir angle of observed object as a fraction of apparent radius + * @param[out] nadir_ang Nadir angle of observed object as a fraction of apparent radius * of limb: %lt;1.0 if below the limb; 1.0 on the limb; or >1.0 if * above the limb. Returns NAN in case of an error return. It may be NULL * if not required. diff --git a/test/novasc3.1/limb_angle.out b/test/novasc3.1/limb_angle.out index e4c434a9..55be14e5 100644 --- a/test/novasc3.1/limb_angle.out +++ b/test/novasc3.1/limb_angle.out @@ -1,240 +1,240 @@ -10000.0 22+20 S2 O0 A0: nan nan --10000.0 22+20 S2 O1 A0: 145.977105 60365.587207 +-10000.0 22+20 S2 O1 A0: 145.977105 6.036559e+04 --10000.0 22+20 S2 O2 A0: 132.709500 5730086.072975 +-10000.0 22+20 S2 O2 A0: 132.709500 5.730086e+06 -10000.0 16-20 S2 O0 A0: nan nan --10000.0 16-20 S2 O1 A0: 98.660449 40799.159825 +-10000.0 16-20 S2 O1 A0: 98.660449 4.079916e+04 --10000.0 16-20 S2 O2 A0: 44.935094 1940193.008993 +-10000.0 16-20 S2 O2 A0: 44.935094 1.940193e+06 -10000.0 SUN S0 O0 A0: nan nan --10000.0 SUN S0 O1 A0: 53.181239 21992.554980 +-10000.0 SUN S0 O1 A0: 53.181239 2.199255e+04 --10000.0 SUN S0 O2 A0: 106.901484 4615756.460720 +-10000.0 SUN S0 O2 A0: 106.901484 4.615756e+06 -10000.0 EARTH S0 O0 A0: nan nan --10000.0 EARTH S0 O1 A0: 179.996872 74433.472821 +-10000.0 EARTH S0 O1 A0: 179.996872 7.443347e+04 --10000.0 EARTH S0 O2 A0: 126.255303 5451408.974761 +-10000.0 EARTH S0 O2 A0: 126.255303 5.451409e+06 0.0 22+20 S2 O0 A0: nan nan - 0.0 22+20 S2 O1 A0: 63.740570 25620.837105 + 0.0 22+20 S2 O1 A0: 63.740570 2.562084e+04 - 0.0 22+20 S2 O2 A0: 132.008697 5674118.309712 + 0.0 22+20 S2 O2 A0: 132.008697 5.674118e+06 0.0 16-20 S2 O0 A0: nan nan - 0.0 16-20 S2 O1 A0: 38.844362 15614.073722 + 0.0 16-20 S2 O1 A0: 38.844362 1.561407e+04 - 0.0 16-20 S2 O2 A0: 43.958133 1889449.259870 + 0.0 16-20 S2 O2 A0: 43.958133 1.889449e+06 0.0 SUN S0 O0 A0: nan nan - 0.0 SUN S0 O1 A0: 79.454498 31936.881647 + 0.0 SUN S0 O1 A0: 79.454498 3.193688e+04 - 0.0 SUN S0 O2 A0: 3.345607 143804.903443 + 0.0 SUN S0 O2 A0: 3.345607 1.438049e+05 0.0 EARTH S0 O0 A0: nan nan - 0.0 EARTH S0 O1 A0: 179.995731 72348.349417 + 0.0 EARTH S0 O1 A0: 179.995731 7.234835e+04 - 0.0 EARTH S0 O2 A0: 97.198319 4177867.128758 + 0.0 EARTH S0 O2 A0: 97.198319 4.177867e+06 10000.0 22+20 S2 O0 A0: nan nan - 10000.0 22+20 S2 O1 A0: 79.616582 33090.934295 + 10000.0 22+20 S2 O1 A0: 79.616582 3.309093e+04 - 10000.0 22+20 S2 O2 A0: 132.637913 5652979.205293 + 10000.0 22+20 S2 O2 A0: 132.637913 5.652979e+06 10000.0 16-20 S2 O0 A0: nan nan - 10000.0 16-20 S2 O1 A0: 176.037299 73164.937632 + 10000.0 16-20 S2 O1 A0: 176.037299 7.316494e+04 - 10000.0 16-20 S2 O2 A0: 44.853791 1911652.772340 + 10000.0 16-20 S2 O2 A0: 44.853791 1.911653e+06 10000.0 SUN S0 O0 A0: nan nan - 10000.0 SUN S0 O1 A0: 148.171395 61583.418716 + 10000.0 SUN S0 O1 A0: 148.171395 6.158342e+04 - 10000.0 SUN S0 O2 A0: 72.730948 3099766.779829 + 10000.0 SUN S0 O2 A0: 72.730948 3.099767e+06 10000.0 EARTH S0 O0 A0: nan nan - 10000.0 EARTH S0 O1 A0: 179.997051 74810.674256 + 10000.0 EARTH S0 O1 A0: 179.997051 7.481067e+04 - 10000.0 EARTH S0 O2 A0: 40.954021 1745446.050988 + 10000.0 EARTH S0 O2 A0: 40.954021 1.745446e+06 10000.0 22+20 S2 O0 A0: nan nan - 10000.0 22+20 S2 O1 A0: 79.616582 33090.934295 + 10000.0 22+20 S2 O1 A0: 79.616582 3.309093e+04 - 10000.0 22+20 S2 O2 A0: 132.637913 5652979.205293 + 10000.0 22+20 S2 O2 A0: 132.637913 5.652979e+06 10000.0 16-20 S2 O0 A0: nan nan - 10000.0 16-20 S2 O1 A0: 176.037299 73164.937632 + 10000.0 16-20 S2 O1 A0: 176.037299 7.316494e+04 - 10000.0 16-20 S2 O2 A0: 44.853791 1911652.772340 + 10000.0 16-20 S2 O2 A0: 44.853791 1.911653e+06 10000.0 SUN S0 O0 A0: nan nan - 10000.0 SUN S0 O1 A0: 148.171395 61583.418716 + 10000.0 SUN S0 O1 A0: 148.171395 6.158342e+04 - 10000.0 SUN S0 O2 A0: 72.730948 3099766.779829 + 10000.0 SUN S0 O2 A0: 72.730948 3.099767e+06 10000.0 EARTH S0 O0 A0: nan nan - 10000.0 EARTH S0 O1 A0: 179.997051 74810.674256 + 10000.0 EARTH S0 O1 A0: 179.997051 7.481067e+04 - 10000.0 EARTH S0 O2 A0: 40.954021 1745446.050988 + 10000.0 EARTH S0 O2 A0: 40.954021 1.745446e+06 10000.0 22+20 S2 O0 A0: nan nan - 10000.0 22+20 S2 O1 A0: 79.624702 33094.369324 + 10000.0 22+20 S2 O1 A0: 79.624702 3.309437e+04 - 10000.0 22+20 S2 O2 A0: 132.637965 5652987.362020 + 10000.0 22+20 S2 O2 A0: 132.637965 5.652987e+06 10000.0 16-20 S2 O0 A0: nan nan - 10000.0 16-20 S2 O1 A0: 176.046656 73168.959465 + 10000.0 16-20 S2 O1 A0: 176.046656 7.316896e+04 - 10000.0 16-20 S2 O2 A0: 44.853862 1911657.830144 + 10000.0 16-20 S2 O2 A0: 44.853862 1.911658e+06 10000.0 SUN S0 O0 A0: nan nan - 10000.0 SUN S0 O1 A0: 148.180252 61587.212162 + 10000.0 SUN S0 O1 A0: 148.180252 6.158721e+04 - 10000.0 SUN S0 O2 A0: 72.731615 3099798.464149 + 10000.0 SUN S0 O2 A0: 72.731615 3.099798e+06 10000.0 EARTH S0 O0 A0: nan nan - 10000.0 EARTH S0 O1 A0: 179.997190 74810.868384 + 10000.0 EARTH S0 O1 A0: 179.997190 7.481087e+04 - 10000.0 EARTH S0 O2 A0: 40.963676 1745859.358490 + 10000.0 EARTH S0 O2 A0: 40.963676 1.745859e+06 -10000.0 22+20 S2 O0 A1: nan nan --10000.0 22+20 S2 O1 A1: 145.977105 60365.587207 +-10000.0 22+20 S2 O1 A1: 145.977105 6.036559e+04 --10000.0 22+20 S2 O2 A1: 132.709500 5730086.072975 +-10000.0 22+20 S2 O2 A1: 132.709500 5.730086e+06 -10000.0 16-20 S2 O0 A1: nan nan --10000.0 16-20 S2 O1 A1: 98.660449 40799.159825 +-10000.0 16-20 S2 O1 A1: 98.660449 4.079916e+04 --10000.0 16-20 S2 O2 A1: 44.935094 1940193.008993 +-10000.0 16-20 S2 O2 A1: 44.935094 1.940193e+06 -10000.0 SUN S0 O0 A1: nan nan --10000.0 SUN S0 O1 A1: 53.181239 21992.554980 +-10000.0 SUN S0 O1 A1: 53.181239 2.199255e+04 --10000.0 SUN S0 O2 A1: 106.901484 4615756.460763 +-10000.0 SUN S0 O2 A1: 106.901484 4.615756e+06 -10000.0 EARTH S0 O0 A1: nan nan --10000.0 EARTH S0 O1 A1: 179.996872 74433.472821 +-10000.0 EARTH S0 O1 A1: 179.996872 7.443347e+04 --10000.0 EARTH S0 O2 A1: 126.255303 5451408.974761 +-10000.0 EARTH S0 O2 A1: 126.255303 5.451409e+06 0.0 22+20 S2 O0 A1: nan nan - 0.0 22+20 S2 O1 A1: 63.740570 25620.837105 + 0.0 22+20 S2 O1 A1: 63.740570 2.562084e+04 - 0.0 22+20 S2 O2 A1: 132.008697 5674118.309712 + 0.0 22+20 S2 O2 A1: 132.008697 5.674118e+06 0.0 16-20 S2 O0 A1: nan nan - 0.0 16-20 S2 O1 A1: 38.844362 15614.073722 + 0.0 16-20 S2 O1 A1: 38.844362 1.561407e+04 - 0.0 16-20 S2 O2 A1: 43.958133 1889449.259870 + 0.0 16-20 S2 O2 A1: 43.958133 1.889449e+06 0.0 SUN S0 O0 A1: nan nan - 0.0 SUN S0 O1 A1: 79.454498 31936.881647 + 0.0 SUN S0 O1 A1: 79.454498 3.193688e+04 - 0.0 SUN S0 O2 A1: 3.345607 143804.903441 + 0.0 SUN S0 O2 A1: 3.345607 1.438049e+05 0.0 EARTH S0 O0 A1: nan nan - 0.0 EARTH S0 O1 A1: 179.995731 72348.349417 + 0.0 EARTH S0 O1 A1: 179.995731 7.234835e+04 - 0.0 EARTH S0 O2 A1: 97.198319 4177867.128758 + 0.0 EARTH S0 O2 A1: 97.198319 4.177867e+06 10000.0 22+20 S2 O0 A1: nan nan - 10000.0 22+20 S2 O1 A1: 79.616582 33090.934295 + 10000.0 22+20 S2 O1 A1: 79.616582 3.309093e+04 - 10000.0 22+20 S2 O2 A1: 132.637913 5652979.205293 + 10000.0 22+20 S2 O2 A1: 132.637913 5.652979e+06 10000.0 16-20 S2 O0 A1: nan nan - 10000.0 16-20 S2 O1 A1: 176.037299 73164.937632 + 10000.0 16-20 S2 O1 A1: 176.037299 7.316494e+04 - 10000.0 16-20 S2 O2 A1: 44.853791 1911652.772340 + 10000.0 16-20 S2 O2 A1: 44.853791 1.911653e+06 10000.0 SUN S0 O0 A1: nan nan - 10000.0 SUN S0 O1 A1: 148.171395 61583.418716 + 10000.0 SUN S0 O1 A1: 148.171395 6.158342e+04 - 10000.0 SUN S0 O2 A1: 72.730948 3099766.779863 + 10000.0 SUN S0 O2 A1: 72.730948 3.099767e+06 10000.0 EARTH S0 O0 A1: nan nan - 10000.0 EARTH S0 O1 A1: 179.997051 74810.674256 + 10000.0 EARTH S0 O1 A1: 179.997051 7.481067e+04 - 10000.0 EARTH S0 O2 A1: 40.954021 1745446.050988 + 10000.0 EARTH S0 O2 A1: 40.954021 1.745446e+06 10000.0 22+20 S2 O0 A1: nan nan - 10000.0 22+20 S2 O1 A1: 79.616582 33090.934295 + 10000.0 22+20 S2 O1 A1: 79.616582 3.309093e+04 - 10000.0 22+20 S2 O2 A1: 132.637913 5652979.205293 + 10000.0 22+20 S2 O2 A1: 132.637913 5.652979e+06 10000.0 16-20 S2 O0 A1: nan nan - 10000.0 16-20 S2 O1 A1: 176.037299 73164.937632 + 10000.0 16-20 S2 O1 A1: 176.037299 7.316494e+04 - 10000.0 16-20 S2 O2 A1: 44.853791 1911652.772340 + 10000.0 16-20 S2 O2 A1: 44.853791 1.911653e+06 10000.0 SUN S0 O0 A1: nan nan - 10000.0 SUN S0 O1 A1: 148.171395 61583.418716 + 10000.0 SUN S0 O1 A1: 148.171395 6.158342e+04 - 10000.0 SUN S0 O2 A1: 72.730948 3099766.779863 + 10000.0 SUN S0 O2 A1: 72.730948 3.099767e+06 10000.0 EARTH S0 O0 A1: nan nan - 10000.0 EARTH S0 O1 A1: 179.997051 74810.674256 + 10000.0 EARTH S0 O1 A1: 179.997051 7.481067e+04 - 10000.0 EARTH S0 O2 A1: 40.954021 1745446.050988 + 10000.0 EARTH S0 O2 A1: 40.954021 1.745446e+06 10000.0 22+20 S2 O0 A1: nan nan - 10000.0 22+20 S2 O1 A1: 79.624702 33094.369324 + 10000.0 22+20 S2 O1 A1: 79.624702 3.309437e+04 - 10000.0 22+20 S2 O2 A1: 132.637965 5652987.362020 + 10000.0 22+20 S2 O2 A1: 132.637965 5.652987e+06 10000.0 16-20 S2 O0 A1: nan nan - 10000.0 16-20 S2 O1 A1: 176.046656 73168.959465 + 10000.0 16-20 S2 O1 A1: 176.046656 7.316896e+04 - 10000.0 16-20 S2 O2 A1: 44.853862 1911657.830144 + 10000.0 16-20 S2 O2 A1: 44.853862 1.911658e+06 10000.0 SUN S0 O0 A1: nan nan - 10000.0 SUN S0 O1 A1: 148.180252 61587.212162 + 10000.0 SUN S0 O1 A1: 148.180252 6.158721e+04 - 10000.0 SUN S0 O2 A1: 72.731615 3099798.464183 + 10000.0 SUN S0 O2 A1: 72.731615 3.099798e+06 10000.0 EARTH S0 O0 A1: nan nan - 10000.0 EARTH S0 O1 A1: 179.997190 74810.868384 + 10000.0 EARTH S0 O1 A1: 179.997190 7.481087e+04 - 10000.0 EARTH S0 O2 A1: 40.963676 1745859.358490 + 10000.0 EARTH S0 O2 A1: 40.963676 1.745859e+06 diff --git a/test/reference/limb_angle.out b/test/reference/limb_angle.out index 902cb7b1..55be14e5 100644 --- a/test/reference/limb_angle.out +++ b/test/reference/limb_angle.out @@ -1,240 +1,240 @@ -10000.0 22+20 S2 O0 A0: nan nan --10000.0 22+20 S2 O1 A0: 145.977105 60365.587210 +-10000.0 22+20 S2 O1 A0: 145.977105 6.036559e+04 --10000.0 22+20 S2 O2 A0: 132.709500 5730086.073320 +-10000.0 22+20 S2 O2 A0: 132.709500 5.730086e+06 -10000.0 16-20 S2 O0 A0: nan nan --10000.0 16-20 S2 O1 A0: 98.660449 40799.159828 +-10000.0 16-20 S2 O1 A0: 98.660449 4.079916e+04 --10000.0 16-20 S2 O2 A0: 44.935094 1940193.009110 +-10000.0 16-20 S2 O2 A0: 44.935094 1.940193e+06 -10000.0 SUN S0 O0 A0: nan nan --10000.0 SUN S0 O1 A0: 53.181239 21992.554981 +-10000.0 SUN S0 O1 A0: 53.181239 2.199255e+04 --10000.0 SUN S0 O2 A0: 106.901484 4615756.460998 +-10000.0 SUN S0 O2 A0: 106.901484 4.615756e+06 -10000.0 EARTH S0 O0 A0: nan nan --10000.0 EARTH S0 O1 A0: 179.996872 74433.472825 +-10000.0 EARTH S0 O1 A0: 179.996872 7.443347e+04 --10000.0 EARTH S0 O2 A0: 126.255303 5451408.975089 +-10000.0 EARTH S0 O2 A0: 126.255303 5.451409e+06 0.0 22+20 S2 O0 A0: nan nan - 0.0 22+20 S2 O1 A0: 63.740570 25620.837107 + 0.0 22+20 S2 O1 A0: 63.740570 2.562084e+04 - 0.0 22+20 S2 O2 A0: 132.008697 5674118.310054 + 0.0 22+20 S2 O2 A0: 132.008697 5.674118e+06 0.0 16-20 S2 O0 A0: nan nan - 0.0 16-20 S2 O1 A0: 38.844362 15614.073723 + 0.0 16-20 S2 O1 A0: 38.844362 1.561407e+04 - 0.0 16-20 S2 O2 A0: 43.958133 1889449.259984 + 0.0 16-20 S2 O2 A0: 43.958133 1.889449e+06 0.0 SUN S0 O0 A0: nan nan - 0.0 SUN S0 O1 A0: 79.454498 31936.881649 + 0.0 SUN S0 O1 A0: 79.454498 3.193688e+04 - 0.0 SUN S0 O2 A0: 3.345607 143804.903452 + 0.0 SUN S0 O2 A0: 3.345607 1.438049e+05 0.0 EARTH S0 O0 A0: nan nan - 0.0 EARTH S0 O1 A0: 179.995731 72348.349421 + 0.0 EARTH S0 O1 A0: 179.995731 7.234835e+04 - 0.0 EARTH S0 O2 A0: 97.198319 4177867.129009 + 0.0 EARTH S0 O2 A0: 97.198319 4.177867e+06 10000.0 22+20 S2 O0 A0: nan nan - 10000.0 22+20 S2 O1 A0: 79.616582 33090.934297 + 10000.0 22+20 S2 O1 A0: 79.616582 3.309093e+04 - 10000.0 22+20 S2 O2 A0: 132.637913 5652979.205634 + 10000.0 22+20 S2 O2 A0: 132.637913 5.652979e+06 10000.0 16-20 S2 O0 A0: nan nan - 10000.0 16-20 S2 O1 A0: 176.037299 73164.937636 + 10000.0 16-20 S2 O1 A0: 176.037299 7.316494e+04 - 10000.0 16-20 S2 O2 A0: 44.853791 1911652.772455 + 10000.0 16-20 S2 O2 A0: 44.853791 1.911653e+06 10000.0 SUN S0 O0 A0: nan nan - 10000.0 SUN S0 O1 A0: 148.171395 61583.418720 + 10000.0 SUN S0 O1 A0: 148.171395 6.158342e+04 - 10000.0 SUN S0 O2 A0: 72.730948 3099766.780016 + 10000.0 SUN S0 O2 A0: 72.730948 3.099767e+06 10000.0 EARTH S0 O0 A0: nan nan - 10000.0 EARTH S0 O1 A0: 179.997051 74810.674260 + 10000.0 EARTH S0 O1 A0: 179.997051 7.481067e+04 - 10000.0 EARTH S0 O2 A0: 40.954021 1745446.051093 + 10000.0 EARTH S0 O2 A0: 40.954021 1.745446e+06 10000.0 22+20 S2 O0 A0: nan nan - 10000.0 22+20 S2 O1 A0: 79.616582 33090.934297 + 10000.0 22+20 S2 O1 A0: 79.616582 3.309093e+04 - 10000.0 22+20 S2 O2 A0: 132.637913 5652979.205634 + 10000.0 22+20 S2 O2 A0: 132.637913 5.652979e+06 10000.0 16-20 S2 O0 A0: nan nan - 10000.0 16-20 S2 O1 A0: 176.037299 73164.937636 + 10000.0 16-20 S2 O1 A0: 176.037299 7.316494e+04 - 10000.0 16-20 S2 O2 A0: 44.853791 1911652.772455 + 10000.0 16-20 S2 O2 A0: 44.853791 1.911653e+06 10000.0 SUN S0 O0 A0: nan nan - 10000.0 SUN S0 O1 A0: 148.171395 61583.418720 + 10000.0 SUN S0 O1 A0: 148.171395 6.158342e+04 - 10000.0 SUN S0 O2 A0: 72.730948 3099766.780016 + 10000.0 SUN S0 O2 A0: 72.730948 3.099767e+06 10000.0 EARTH S0 O0 A0: nan nan - 10000.0 EARTH S0 O1 A0: 179.997051 74810.674260 + 10000.0 EARTH S0 O1 A0: 179.997051 7.481067e+04 - 10000.0 EARTH S0 O2 A0: 40.954021 1745446.051093 + 10000.0 EARTH S0 O2 A0: 40.954021 1.745446e+06 10000.0 22+20 S2 O0 A0: nan nan - 10000.0 22+20 S2 O1 A0: 79.624702 33094.369326 + 10000.0 22+20 S2 O1 A0: 79.624702 3.309437e+04 - 10000.0 22+20 S2 O2 A0: 132.637965 5652987.362360 + 10000.0 22+20 S2 O2 A0: 132.637965 5.652987e+06 10000.0 16-20 S2 O0 A0: nan nan - 10000.0 16-20 S2 O1 A0: 176.046656 73168.959470 + 10000.0 16-20 S2 O1 A0: 176.046656 7.316896e+04 - 10000.0 16-20 S2 O2 A0: 44.853862 1911657.830259 + 10000.0 16-20 S2 O2 A0: 44.853862 1.911658e+06 10000.0 SUN S0 O0 A0: nan nan - 10000.0 SUN S0 O1 A0: 148.180252 61587.212166 + 10000.0 SUN S0 O1 A0: 148.180252 6.158721e+04 - 10000.0 SUN S0 O2 A0: 72.731615 3099798.464335 + 10000.0 SUN S0 O2 A0: 72.731615 3.099798e+06 10000.0 EARTH S0 O0 A0: nan nan - 10000.0 EARTH S0 O1 A0: 179.997190 74810.868388 + 10000.0 EARTH S0 O1 A0: 179.997190 7.481087e+04 - 10000.0 EARTH S0 O2 A0: 40.963676 1745859.358595 + 10000.0 EARTH S0 O2 A0: 40.963676 1.745859e+06 -10000.0 22+20 S2 O0 A1: nan nan --10000.0 22+20 S2 O1 A1: 145.977105 60365.587210 +-10000.0 22+20 S2 O1 A1: 145.977105 6.036559e+04 --10000.0 22+20 S2 O2 A1: 132.709500 5730086.073320 +-10000.0 22+20 S2 O2 A1: 132.709500 5.730086e+06 -10000.0 16-20 S2 O0 A1: nan nan --10000.0 16-20 S2 O1 A1: 98.660449 40799.159828 +-10000.0 16-20 S2 O1 A1: 98.660449 4.079916e+04 --10000.0 16-20 S2 O2 A1: 44.935094 1940193.009110 +-10000.0 16-20 S2 O2 A1: 44.935094 1.940193e+06 -10000.0 SUN S0 O0 A1: nan nan --10000.0 SUN S0 O1 A1: 53.181239 21992.554981 +-10000.0 SUN S0 O1 A1: 53.181239 2.199255e+04 --10000.0 SUN S0 O2 A1: 106.901484 4615756.460998 +-10000.0 SUN S0 O2 A1: 106.901484 4.615756e+06 -10000.0 EARTH S0 O0 A1: nan nan --10000.0 EARTH S0 O1 A1: 179.996872 74433.472825 +-10000.0 EARTH S0 O1 A1: 179.996872 7.443347e+04 --10000.0 EARTH S0 O2 A1: 126.255303 5451408.975089 +-10000.0 EARTH S0 O2 A1: 126.255303 5.451409e+06 0.0 22+20 S2 O0 A1: nan nan - 0.0 22+20 S2 O1 A1: 63.740570 25620.837107 + 0.0 22+20 S2 O1 A1: 63.740570 2.562084e+04 - 0.0 22+20 S2 O2 A1: 132.008697 5674118.310054 + 0.0 22+20 S2 O2 A1: 132.008697 5.674118e+06 0.0 16-20 S2 O0 A1: nan nan - 0.0 16-20 S2 O1 A1: 38.844362 15614.073723 + 0.0 16-20 S2 O1 A1: 38.844362 1.561407e+04 - 0.0 16-20 S2 O2 A1: 43.958133 1889449.259984 + 0.0 16-20 S2 O2 A1: 43.958133 1.889449e+06 0.0 SUN S0 O0 A1: nan nan - 0.0 SUN S0 O1 A1: 79.454498 31936.881649 + 0.0 SUN S0 O1 A1: 79.454498 3.193688e+04 - 0.0 SUN S0 O2 A1: 3.345607 143804.903452 + 0.0 SUN S0 O2 A1: 3.345607 1.438049e+05 0.0 EARTH S0 O0 A1: nan nan - 0.0 EARTH S0 O1 A1: 179.995731 72348.349421 + 0.0 EARTH S0 O1 A1: 179.995731 7.234835e+04 - 0.0 EARTH S0 O2 A1: 97.198319 4177867.129009 + 0.0 EARTH S0 O2 A1: 97.198319 4.177867e+06 10000.0 22+20 S2 O0 A1: nan nan - 10000.0 22+20 S2 O1 A1: 79.616582 33090.934297 + 10000.0 22+20 S2 O1 A1: 79.616582 3.309093e+04 - 10000.0 22+20 S2 O2 A1: 132.637913 5652979.205634 + 10000.0 22+20 S2 O2 A1: 132.637913 5.652979e+06 10000.0 16-20 S2 O0 A1: nan nan - 10000.0 16-20 S2 O1 A1: 176.037299 73164.937636 + 10000.0 16-20 S2 O1 A1: 176.037299 7.316494e+04 - 10000.0 16-20 S2 O2 A1: 44.853791 1911652.772455 + 10000.0 16-20 S2 O2 A1: 44.853791 1.911653e+06 10000.0 SUN S0 O0 A1: nan nan - 10000.0 SUN S0 O1 A1: 148.171395 61583.418720 + 10000.0 SUN S0 O1 A1: 148.171395 6.158342e+04 - 10000.0 SUN S0 O2 A1: 72.730948 3099766.780016 + 10000.0 SUN S0 O2 A1: 72.730948 3.099767e+06 10000.0 EARTH S0 O0 A1: nan nan - 10000.0 EARTH S0 O1 A1: 179.997051 74810.674260 + 10000.0 EARTH S0 O1 A1: 179.997051 7.481067e+04 - 10000.0 EARTH S0 O2 A1: 40.954021 1745446.051093 + 10000.0 EARTH S0 O2 A1: 40.954021 1.745446e+06 10000.0 22+20 S2 O0 A1: nan nan - 10000.0 22+20 S2 O1 A1: 79.616582 33090.934297 + 10000.0 22+20 S2 O1 A1: 79.616582 3.309093e+04 - 10000.0 22+20 S2 O2 A1: 132.637913 5652979.205634 + 10000.0 22+20 S2 O2 A1: 132.637913 5.652979e+06 10000.0 16-20 S2 O0 A1: nan nan - 10000.0 16-20 S2 O1 A1: 176.037299 73164.937636 + 10000.0 16-20 S2 O1 A1: 176.037299 7.316494e+04 - 10000.0 16-20 S2 O2 A1: 44.853791 1911652.772455 + 10000.0 16-20 S2 O2 A1: 44.853791 1.911653e+06 10000.0 SUN S0 O0 A1: nan nan - 10000.0 SUN S0 O1 A1: 148.171395 61583.418720 + 10000.0 SUN S0 O1 A1: 148.171395 6.158342e+04 - 10000.0 SUN S0 O2 A1: 72.730948 3099766.780016 + 10000.0 SUN S0 O2 A1: 72.730948 3.099767e+06 10000.0 EARTH S0 O0 A1: nan nan - 10000.0 EARTH S0 O1 A1: 179.997051 74810.674260 + 10000.0 EARTH S0 O1 A1: 179.997051 7.481067e+04 - 10000.0 EARTH S0 O2 A1: 40.954021 1745446.051093 + 10000.0 EARTH S0 O2 A1: 40.954021 1.745446e+06 10000.0 22+20 S2 O0 A1: nan nan - 10000.0 22+20 S2 O1 A1: 79.624702 33094.369326 + 10000.0 22+20 S2 O1 A1: 79.624702 3.309437e+04 - 10000.0 22+20 S2 O2 A1: 132.637965 5652987.362360 + 10000.0 22+20 S2 O2 A1: 132.637965 5.652987e+06 10000.0 16-20 S2 O0 A1: nan nan - 10000.0 16-20 S2 O1 A1: 176.046656 73168.959470 + 10000.0 16-20 S2 O1 A1: 176.046656 7.316896e+04 - 10000.0 16-20 S2 O2 A1: 44.853862 1911657.830259 + 10000.0 16-20 S2 O2 A1: 44.853862 1.911658e+06 10000.0 SUN S0 O0 A1: nan nan - 10000.0 SUN S0 O1 A1: 148.180252 61587.212166 + 10000.0 SUN S0 O1 A1: 148.180252 6.158721e+04 - 10000.0 SUN S0 O2 A1: 72.731615 3099798.464335 + 10000.0 SUN S0 O2 A1: 72.731615 3.099798e+06 10000.0 EARTH S0 O0 A1: nan nan - 10000.0 EARTH S0 O1 A1: 179.997190 74810.868388 + 10000.0 EARTH S0 O1 A1: 179.997190 7.481087e+04 - 10000.0 EARTH S0 O2 A1: 40.963676 1745859.358595 + 10000.0 EARTH S0 O2 A1: 40.963676 1.745859e+06 diff --git a/test/src/test-compat.c b/test/src/test-compat.c index 7a153e58..3d24f20b 100644 --- a/test/src/test-compat.c +++ b/test/src/test-compat.c @@ -957,7 +957,7 @@ static void test_limb_angle() { double limb = 0.0, nadir = 0.0; openfile("limb_angle"); limb_angle(pos0, pobs, &limb, &nadir); - fprintf(fp, "%12.6f %12.6f ", limb, nadir); + fprintf(fp, "%12.6f %12.6e ", limb, nadir); } static int test_source() {