Measurement of a microwave antenna pattern from an orbiting spacecraft