Variable In-Field Geomagnetic Referencing for Improved Wellbore Positioning in Directional Drilling