| Crates.io | atmus |
| lib.rs | atmus |
| version | 0.2.9 |
| created_at | 2023-02-16 19:24:07.748124+00 |
| updated_at | 2024-11-08 17:38:07.21176+00 |
| description | Atmospheric modeling, focused on the US 1976 Standard Atmosphere for now. |
| homepage | https://github.com/OwenShepherd/atmus |
| repository | https://github.com/OwenShepherd/atmus |
| max_upload_size | |
| id | 786980 |
| size | 24,144 |
The 1976 US Standard Atmosphere model, written in Rust.
PLEASE NOTE:
The API exposes a single public function. See the following example:
use crate::atmus::atmus;
fn test_atmus_return_values() {
let some_result = atmus(1.0);
assert_eq!(f32::floor(some_result.0), 89874.0);
assert_eq!(f32::floor(some_result.1), 0.0);
}
The return is simply a tuple: (Pressure [Pa], Temperature [K]).
Atmus expects the altitude in kilometers.