Skip to content

Commit

Permalink
The 'visibility indicator' can be used in geocentric ephemerides. (It…
Browse files Browse the repository at this point in the history
… will show the 'visibility' for an optimal place at that time.)
  • Loading branch information
Bill-Gray committed May 2, 2023
1 parent 8f983d2 commit 8f77bb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ephem0.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2120,7 +2120,7 @@ static int _ephemeris_in_a_file( const char *filename, const double *orbit,
if( (!cinfo->rho_cos_phi && !cinfo->rho_sin_phi && !use_observation_times && !show_geo_quantities
&& !*group_data
&& memcmp( note_text, "(Opt)", 5)) || ephem_type != OPTION_OBSERVABLES)
options &= ~(OPTION_ALT_AZ_OUTPUT | OPTION_VISIBILITY | OPTION_MOON_ALT
options &= ~(OPTION_ALT_AZ_OUTPUT | OPTION_MOON_ALT
| OPTION_MOON_AZ | OPTION_SUN_ALT | OPTION_SUN_AZ
| OPTION_SNR | OPTION_EXPOSURE_TIME
| OPTION_SKY_BRIGHTNESS | OPTION_SUPPRESS_UNOBSERVABLE);
Expand Down
6 changes: 2 additions & 4 deletions findorb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -956,13 +956,11 @@ static void create_ephemeris( const double *orbit, const double epoch_jd,
(ephemeris_output_options & OPTION_RADIAL_VEL_OUTPUT) ? '*' : ' ');
snprintf_append( buff, sizeof( buff), "P [%c] Phase angle\n",
(ephemeris_output_options & OPTION_PHASE_ANGLE_OUTPUT) ? '*' : ' ');
snprintf_append( buff, sizeof( buff), "V [%c] Visibility indicator\n",
(ephemeris_output_options & OPTION_VISIBILITY) ? '*' : ' ');
if( is_topocentric)
{
snprintf_append( buff, sizeof( buff), "V [%c] Visibility indicator\n",
(ephemeris_output_options & OPTION_VISIBILITY) ? '*' : ' ');
snprintf_append( buff, sizeof( buff), "U [%c] Suppress unobservables\n",
(ephemeris_output_options & OPTION_SUPPRESS_UNOBSERVABLE) ? '*' : ' ');
}
snprintf_append( buff, sizeof( buff), "F Suppress when fainter than mag: %.1f\n",
ephemeris_mag_limit);
snprintf_append( buff, sizeof( buff), "D [%c] Positional sigmas\n",
Expand Down

0 comments on commit 8f77bb2

Please sign in to comment.