Narrative:

After initial alignment, compass system slewed 40 degrees left because of strong magnetic field at our gate. During multi turn short taxi, crew didn't notice discrepancy. Shortly after takeoff clearance, INS use and masked magnetic compass problem. Later assigned heading the switch back to magnetic resulted in large heading error. Center pointed out our error and we realigned compass system, corrected our heading and relieved the problem.

Google
 

Original NASA ASRS Text

Title: A DC10-30 DEPARTED A GATE WITH A 40 DEG MAGNETIC ERROR RESULTING IN A HEADING DEV CORRECTED BY ATC.

Narrative: AFTER INITIAL ALIGNMENT, COMPASS SYS SLEWED 40 DEGS L BECAUSE OF STRONG MAGNETIC FIELD AT OUR GATE. DURING MULTI TURN SHORT TAXI, CREW DIDN'T NOTICE DISCREPANCY. SHORTLY AFTER TKOF CLRNC, INS USE AND MASKED MAGNETIC COMPASS PROB. LATER ASSIGNED HEADING THE SWITCH BACK TO MAGNETIC RESULTED IN LARGE HEADING ERROR. CTR POINTED OUT OUR ERROR AND WE REALIGNED COMPASS SYS, CORRECTED OUR HEADING AND RELIEVED THE PROB.

Data retrieved from NASA's ASRS site as of July 2007 and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.