Index

Boolean visible(source)

Return true if a given source is currently above the horizon.

Arguments:
Source source
The source of interest.

Example 1:
The following example shows one way to wait for a source to rise, and stop waiting if the source has recently set.
  until $visible(jupiter) | $setting(jupiter)
  if($visible(jupiter)) {
    ...
  }

Context:
A source is considered to be visible if its elevation is greater than the horizon that was specified when the horizon command was last invoked.

Martin Shepherd (4-Sep-2007)