hpr_atmos/lib.rs
1//! Atmosphere and wind models: the US Standard Atmosphere 1976, ISA offsets, custom soundings, wind
2//! profiles and turbulence.
3//!
4//! **Guide:** [Atmosphere][guide-atmosphere], [Wind][guide-wind] and
5//! [Turbulence][guide-turbulence]: the models, their sources, how well they are validated and what
6//! they leave out.
7//!
8//! [guide-atmosphere]: https://nrdptel.github.io/hpr-sim/physics/atmosphere.html
9//! [guide-wind]: https://nrdptel.github.io/hpr-sim/physics/wind.html
10//! [guide-turbulence]: https://nrdptel.github.io/hpr-sim/physics/turbulence.html
11//!
12//! - [`ussa76`]: the 1976 standard from −5 to 86 km, with temperature offsets and launch-site
13//! anchoring.
14//! - [`moist`]: saturation vapour pressure and humid-air density and speed of sound.
15//! - [`profile`]: atmospheres from soundings and forecasts, and WMO geopotential heights.
16//! - [`wind`]: constant, power-law, logarithmic and layered mean winds.
17//! - [`dryden`]: seeded Dryden turbulence.
18//!
19//! Every model is queried with **geometric height above mean sea level**; the flight engine
20//! converts from its ellipsoidal heights first. Samples report whether a model extrapolated.
21
22pub mod air;
23pub mod dryden;
24pub mod error;
25pub mod moist;
26pub mod profile;
27pub mod ussa76;
28pub mod wind;
29
30pub use air::{AirSample, AirState, Atmosphere, AtmosphereModel};
31pub use dryden::{DrydenGenerator, DrydenParameters, GustField, GustSample, TurbulenceSeverity};
32pub use error::AtmosError;
33pub use profile::{SoundingLevel, SoundingProfile};
34pub use ussa76::Ussa76;
35pub use wind::{
36 ConstantWind, LayeredWind, LogLawWind, PowerLawWind, Wind, WindInterpolation, WindLevel,
37 WindModel, WindSample,
38};