compute sky calib