{"id":20609627,"url":"https://github.com/php-perfect/aviation-calculator","last_synced_at":"2025-04-15T04:31:01.809Z","repository":{"id":153270757,"uuid":"628673228","full_name":"php-perfect/aviation-calculator","owner":"php-perfect","description":"Aviation related calculations","archived":false,"fork":false,"pushed_at":"2024-03-18T09:51:50.000Z","size":80,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T10:18:03.162Z","etag":null,"topics":["aviation","crate","flight-performance","meteorology","navigation","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/php-perfect.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":["nico-loeber"]}},"created_at":"2023-04-16T17:14:25.000Z","updated_at":"2023-08-02T17:14:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3f6f1e0-5f24-4c24-bf09-9c666f982c6e","html_url":"https://github.com/php-perfect/aviation-calculator","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"03ac69b7aa603509a0b3e1bc03fe4ab3db0c6ef7"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-perfect%2Faviation-calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-perfect%2Faviation-calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-perfect%2Faviation-calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/php-perfect%2Faviation-calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/php-perfect","download_url":"https://codeload.github.com/php-perfect/aviation-calculator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249006372,"owners_count":21197261,"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":["aviation","crate","flight-performance","meteorology","navigation","rust"],"created_at":"2024-11-16T10:14:05.007Z","updated_at":"2025-04-15T04:31:01.792Z","avatar_url":"https://github.com/php-perfect.png","language":"Rust","funding_links":["https://github.com/sponsors/nico-loeber","https://github.com/sponsors/nico-loeber?frequency=recurring\u0026sponsor=nico-loeber"],"categories":[],"sub_categories":[],"readme":"[![Build](https://img.shields.io/github/actions/workflow/status/php-perfect/aviation-calculator/rust.yml?branch=master \"Build\")](https://github.com/php-perfect/aviation-calculator/actions/workflows/rust.yml)\n[![License](https://img.shields.io/badge/License-MIT-blue.svg \"MIT\")](https://opensource.org/license/mit/)\n[![GitHub Sponsors](https://img.shields.io/github/sponsors/nico-loeber?label=Sponsors\u0026logo=Github \"Sponsors\")](https://github.com/sponsors/nico-loeber?frequency=recurring\u0026sponsor=nico-loeber)\n\n# Aviation Calculator\n\nThe goal of this library is to provide a collection of useful calculations for aviators to use in other projects.\n\nThe functions are grouped by the general topics of navigation, meteorology and utilities, which mainly contain unit\nconversion functions. There are also FK9 Mk VI specific performance calculations.\n\nAll calculations are based on official sources and use official examples to verify correctness in automated tests.\n\nFeel free to use this library in your projects and to [contribute](CONTRIBUTING.md) to it.\n\n## Usage\n\nYou can install this library as a crate using the rust package manager cargo by running `cargo add aviation-calculator`\nin your project.\n\nFor a complete list of available functions, see the automatically\ngenerated [documentation](https://docs.rs/crate/aviation-calculator/latest/target-redirect/x86_64-unknown-linux-gnu/aviation_calculator/index.html)\nfor this crate.\n\n### Some Examples\n\n#### Get ICAO Default temperature for your current location\n\n```rust\nuse aviation_calculator::meteorology::*;\n\nlet pressure_altitude: f64 = pressure_altitude_by_qnh(996.0, 113.7);\nlet icao_default_temperature = icao_temperature(pressure_altitude).unwrap();\n```\n\n#### Calculate wind correction angle\n\n```rust\nuse aviation_calculator::navigation::*;\n\nlet my_speed = 110.0;\nlet wind_speed = 12.0;\nlet acute_wind_angle = 20.0;\n\nlet wca = wind_correction_angle(my_speed, wind_speed, acute_wind_angle);\n```\n\nAnd much more...\n\n## Sources\n\n* [ICAO-Standardatmosphäre (ISA) - Deutscher Wetterdienst](https://www.dwd.de/DE/service/lexikon/begriffe/S/Standardatmosphaere_pdf.pdf?__blob=publicationFile\u0026v=3)\n* [Flight Manual FK 9 Mk VI - B \u0026 F Technik Vertriebs GmbH Speyer – Germany](http://www.flugservice-speyer.de/Flugservice_Speyer/Manuals_files/FK9%20Mk%20VI%20Rev%204%20English.pdf)\n* [Flugsicherheitsmitteilung (fsm) 3/75 - http://www.pilotundrecht.de/](http://www.pilotundrecht.de/TEXTE/DOWNLOAD/FSM/fsm_75_3.pdf)\n\n## Supported by\n\n[\u003cimg alt=\"JetBrains\" height=\"100\" src=\"./img/lsv-z.png\" title=\"LSV Zulu\" width=\"100\"/\u003e](https://lsv-zellhausen.de/)\n[\u003cimg alt=\"JetBrains\" height=\"100\" src=\"https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png\" title=\"JetBrains\" width=\"100\"/\u003e](https://jb.gg/OpenSourceSupport)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-perfect%2Faviation-calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphp-perfect%2Faviation-calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphp-perfect%2Faviation-calculator/lists"}