Modified for AVHRR simulation.