65 _magVar->update(
globals->get_aircraft_position(),
66 globals->get_time_params()->getJD() );
68 _magVarNode->setDoubleValue(_magVar->get_magvar() * SG_RADIANS_TO_DEGREES);
69 _magDipNode->setDoubleValue(_magVar->get_magdip() * SG_RADIANS_TO_DEGREES);