GNSS2 Heading Data

Hi, I am using GNSS2 with Raspberry Pi 4. I am using a python script to parse nmea formatted heading and location data. Although location data is perfect, heading does not make any sense. Module is placed on a flat surface, away from any cable carrying high currents.
I suppose it needs to be calibrated. But I couldn’t find any description or implementation of the calibration process for Zubax GNSS2.

Are my assumptions correct? If so is there any source I can use to calibrate the compass?

The assumption is correct. How to perform the calibration is entirely up to you – Zubax GNSS 2 can only provide raw magnetometer data because it is not equipped with an IMU.

Thanks for the quick reply.