Repair code in earth-satellite notebook