{"id":21707761,"url":"https://github.com/flightaware/egm2008","last_synced_at":"2025-03-20T17:22:12.048Z","repository":{"id":204892614,"uuid":"712938178","full_name":"flightaware/egm2008","owner":"flightaware","description":"Earth Gravitational Model (EGM2008)","archived":false,"fork":false,"pushed_at":"2023-11-01T18:15:19.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":20,"default_branch":"main","last_synced_at":"2024-05-04T12:21:48.895Z","etag":null,"topics":["egm2008","geodesy","wgs84"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/egm2008","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flightaware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2023-11-01T14:11:25.000Z","updated_at":"2024-03-11T07:19:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"85016c94-22a9-4907-99d8-85c1910d2426","html_url":"https://github.com/flightaware/egm2008","commit_stats":null,"previous_names":["flightaware/egm2008"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flightaware%2Fegm2008","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flightaware%2Fegm2008/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flightaware%2Fegm2008/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flightaware%2Fegm2008/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flightaware","download_url":"https://codeload.github.com/flightaware/egm2008/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244656992,"owners_count":20488696,"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":["egm2008","geodesy","wgs84"],"created_at":"2024-11-25T22:19:10.380Z","updated_at":"2025-03-20T17:22:12.022Z","avatar_url":"https://github.com/flightaware.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Earth Gravitational Model (EGM2008)\n\nThe coordinate system used by GPS is [WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System#WGS_84), which expresses altitudes as a \"height above ellipsoid\".\nBecause this ellipsoid is a mathematical simplification, the height given by GPS does not necessarily reflect the height above the actual ground beneath.\n\nThe [Earth Gravitational Models](https://en.wikipedia.org/wiki/Earth_Gravitational_Model) published by the National Geospatial Intelligence Agency are a way to approximate how high an altitude given in WGS 84 coordinates truly is above the ground.\n\nThis library includes data derived from [EGM 2008](https://earth-info.nga.mil/index.php?dir=wgs84\u0026action=wgs84) along with an interpolation function. Together, these allow for an approximate offset to be obtained for arbitrary points on the globe.\n\n## Updating `geoid.rs`\n\nThe `src/geoid.rs` file is generated by a Python script (`generate.py`) that\nruns NGA's Fortran interpolation program. In order to run the script, you'll\nneed to download the EGM model data from the NGA's website.\n\nYou will also need to install `gfortran`. There are a few ways to do this:\n- On macOS, through [Homebrew](https://brew.sh) with `brew install gfortran`.\n- Use the included [Nix](https://nix.dev) dev shell with `nix develop`.\n\nFor convenience, you can run `generate_geoid.sh` which will download and verify\nthe model data from NGA, compile the interpolation program, and update\n`src/geoid.rs`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflightaware%2Fegm2008","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflightaware%2Fegm2008","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflightaware%2Fegm2008/lists"}