{"id":19872229,"url":"https://github.com/geospace-code/maptran3d","last_synced_at":"2026-02-18T08:32:59.713Z","repository":{"id":47096703,"uuid":"144193557","full_name":"geospace-code/maptran3d","owner":"geospace-code","description":"Modern Fortran 3D coordinate conversions for geospace ecef enu eci ","archived":false,"fork":false,"pushed_at":"2022-11-25T18:56:07.000Z","size":159,"stargazers_count":14,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-12T17:27:36.967Z","etag":null,"topics":["coordinate-conversions","coordinate-transformation","fortran2018","geodesy","modern-fortran"],"latest_commit_sha":null,"homepage":"","language":"Fortran","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geospace-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":"codemeta.json","zenodo":null},"funding":{"github":["scivision"],"ko_fi":"scivision"}},"created_at":"2018-08-09T19:12:24.000Z","updated_at":"2024-11-17T10:07:54.000Z","dependencies_parsed_at":"2023-01-23T09:15:51.288Z","dependency_job_id":null,"html_url":"https://github.com/geospace-code/maptran3d","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/geospace-code/maptran3d","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geospace-code%2Fmaptran3d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geospace-code%2Fmaptran3d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geospace-code%2Fmaptran3d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geospace-code%2Fmaptran3d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geospace-code","download_url":"https://codeload.github.com/geospace-code/maptran3d/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geospace-code%2Fmaptran3d/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266204534,"owners_count":23892364,"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":["coordinate-conversions","coordinate-transformation","fortran2018","geodesy","modern-fortran"],"created_at":"2024-11-12T16:14:53.128Z","updated_at":"2025-10-19T19:10:25.483Z","avatar_url":"https://github.com/geospace-code.png","language":"Fortran","funding_links":["https://github.com/sponsors/scivision","https://ko-fi.com/scivision"],"categories":[],"sub_categories":[],"readme":"# Maptran 3D\n\n[![DOI](https://zenodo.org/badge/144193557.svg)](https://zenodo.org/badge/latestdoi/144193557)\n![Actions Status](https://github.com/geospace-code/maptran3d/workflows/ci/badge.svg)\n\nModern Fortran 3D coordinate conversions for geospace ecef enu eci.\nSimilar to Python\n[PyMap3D](https://github.com/scivision/pymap3d)\nand Matlab\n[Matmap3d](https://github.com/geospace-code/matmap3d).\n\nDefault real precision is double precision (64 bit).\n\n```sh\ncmake -B build\ncmake --build build\n```\n\nSet 32-bit real by:\n\n```sh\ncmake -B build -Drealbits=32\ncmake --build build\n```\n\nwhich produces build/libmaptran.a or similar.\n\nThe modern Fortran API is simple like PyMap3D and Matlab Mapping Toolbox.\n`elemental` procedures are used throughout to enable seamless support of scalar or array coordinate inputs.\n\n```fortran\nuse maptran\n\ncall geodetic2ecef(lat,lon,alt, x,y,z)\ncall geodetic2aer(lat,lon,alt, observer_lat, observer_lon, observer_alt)\n```\n\n## Functions\n\nPopular mapping toolbox functions ported to Fortran include the\nfollowing, where the source coordinate system (before the \"2\") is\nconverted to the desired coordinate system:\n\n```\naer2ecef  aer2enu  aer2geodetic  aer2ned\necef2aer  ecef2enu  ecef2enuv  ecef2geodetic  ecef2ned  ecef2nedv\nenu2aer  enu2ecef   enu2geodetic\ngeodetic2aer  geodetic2ecef  geodetic2enu  geodetic2ned\nned2aer  ned2ecef   ned2geodetic\nazel2radec radec2azel\nlookAtSpheroid\n```\n\nAbbreviations:\n\n* [AER: Azimuth, Elevation, Range](https://en.wikipedia.org/wiki/Spherical_coordinate_system)\n* [ECEF: Earth-centered, Earth-fixed](https://en.wikipedia.org/wiki/ECEF)\n* [ENU: East North Up](https://en.wikipedia.org/wiki/Axes_conventions#Ground_reference_frames:_ENU_and_NED)\n* [NED: North East Down](https://en.wikipedia.org/wiki/North_east_down)\n\n## Caveats\n\n* Atmospheric effects neglected in all functions.\n* Planetary perturbations and nutation etc. not fully considered.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeospace-code%2Fmaptran3d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeospace-code%2Fmaptran3d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeospace-code%2Fmaptran3d/lists"}