A method for use on a satellite that automatically inhibits scanning of an
Earth sensor to handle sensor intrusions by the sun, moon, or other
celestial bodies. In implementing the method, a predicted state vector for
the satellite, derived from an orbit propagator, is generated. An attitude
profile for the satellite is generated. Then, the satellite state
(predicted state vector) and attitude profile are processed to determine
Earth, sun, and moon vectors in a satellite body frame of reference at any
instant. The Earth, sun, and moon vectors are compared to the Earth sensor
field of view and sensor field of view limit boxes to determine if scan
inhibiting or Earth sensor switching should occur. The affected Earth
sensor is inhibited or switched if an intrusion of the sun and/or moon
into the field of view of the Earth sensor is predicted.