Calibration is required for both hard-iron (permanent magnetic fields in the vicinity) and soft-iron (distortion
of the field by ferromagnetic materials in the vicinity). Both of these can be caused by the module itself, most
surface mount components use steel end-caps for instance, and these may or may not be magnetized.
The flux-concentrator inside the magnetometer itself needs to be calibrated out too.