{"id":24193701,"url":"https://github.com/ftzi/magneticdeclinationbycoord","last_synced_at":"2026-05-11T15:41:25.810Z","repository":{"id":115671298,"uuid":"181419561","full_name":"ftzi/magneticDeclinationByCoord","owner":"ftzi","description":"Wants to convert your GPS coordinates to the magnetic declination? AUTOMATICALLY? Concerned about the accuracy of it? OR NOT? 3AM here and I finished it!","archived":false,"fork":false,"pushed_at":"2019-04-16T03:01:55.000Z","size":268,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-13T17:46:43.309Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ftzi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-15T05:42:58.000Z","updated_at":"2022-01-22T16:00:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"52224c47-c8a2-432b-9a8b-491dc6bfef4f","html_url":"https://github.com/ftzi/magneticDeclinationByCoord","commit_stats":null,"previous_names":["hfantauzzi/magneticdeclinationbycoord","brfantauzzi/magneticdeclinationbycoord","ftzi/magneticdeclinationbycoord"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ftzi%2FmagneticDeclinationByCoord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ftzi%2FmagneticDeclinationByCoord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ftzi%2FmagneticDeclinationByCoord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ftzi%2FmagneticDeclinationByCoord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ftzi","download_url":"https://codeload.github.com/ftzi/magneticDeclinationByCoord/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241618359,"owners_count":19991854,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-13T17:45:20.107Z","updated_at":"2026-05-11T15:41:25.720Z","avatar_url":"https://github.com/ftzi.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# declinationGridToArray\nWants to convert your GPS coordinates to the magnetic declination? AUTOMATICALLY? Concerned about the accuracy of it? OR NOT? 3AM here and I finished it!\n\nLater I will write this readme properly.\n\n### About:\nMultiple tables of different sizes to fit your project needs.\n\n### Quick story:\nI was member of a university rocketry team, manager of the Avionics. One year ago, I found the  WMM2015v2 (https://www.ngdc.noaa.gov/geomag/WMM/soft.shtml) software, which calculates the magnetic declination based on your coordinates. Yesterday, 21h, I thought it was a good time to integrate it to my system, to automatically calculate it based on the GPS coordinates. I was struggling to reverse engineer the code of it, which is the hell on Earth. So I googled if anyone had already this idea. Yeap. https://github.com/ArduPilot/ardupilot/tree/master/libraries/AP_Declination.\n\n:-(\n\nBUT! I planned this mission for a whole year. I wouldn't just use someone's else work... - but I decided to copy the table idea, anyway, as the WMM code is really a mess, and I don't know if it would run on a microcontroller.\n\nFirst I was thinking to use RegEx to create the tables, but then I decided to just change the WMM code and remake it, to automatically output in a C array.\n\n\nUses the wmm_grid.exe program, which can create a declination map for the entire planet.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fftzi%2Fmagneticdeclinationbycoord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fftzi%2Fmagneticdeclinationbycoord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fftzi%2Fmagneticdeclinationbycoord/lists"}