Open drf5n opened 9 months ago
Fix the https://github.com/Hacked-Crew/Magnetic-Declination/issues/2#issuecomment-1876016654 issue by swapping the calculations so the TVMDCAW and CDMVTAE calculation calls here:
https://github.com/Hacked-Crew/Magnetic-Declination/blob/9ea3356558224a4fd86777c25b8d461eee4b11aa/MagneticDeclination/Magnetic_declination.py#L407-L410
so that if simple_XtoMagnetic == 1: calls geomag.mag_heading() function, etc....
simple_XtoMagnetic == 1:
geomag.mag_heading()
This is a better solution than https://github.com/Hacked-Crew/Magnetic-Declination/pull/9
With this switch, the panels match the rose:
and
Fix the https://github.com/Hacked-Crew/Magnetic-Declination/issues/2#issuecomment-1876016654 issue by swapping the calculations so the TVMDCAW and CDMVTAE calculation calls here:
https://github.com/Hacked-Crew/Magnetic-Declination/blob/9ea3356558224a4fd86777c25b8d461eee4b11aa/MagneticDeclination/Magnetic_declination.py#L407-L410
so that if
simple_XtoMagnetic == 1:
callsgeomag.mag_heading()
function, etc....This is a better solution than https://github.com/Hacked-Crew/Magnetic-Declination/pull/9