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//! Three pages of the guide cover this crate: [Atmosphere][guide-atmosphere], [Wind][guide-wind]
5//! and [Turbulence][guide-turbulence]. They give the models, their sources, how well they are
6//! validated and what they leave out.
7//!
8//! [guide-atmosphere]: https://hpr.fusionspace.co/physics/atmosphere.html
9//! [guide-wind]: https://hpr.fusionspace.co/physics/wind.html
10//! [guide-turbulence]: https://hpr.fusionspace.co/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 vapor 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 barometer;
24pub mod dryden;
25pub mod error;
26pub mod moist;
27pub mod profile;
28pub mod ussa76;
29pub mod wind;
30
31pub use air::{AirSample, AirState, Atmosphere, AtmosphereModel};
32pub use barometer::Barometer;
33pub use dryden::{DrydenGenerator, DrydenParameters, GustField, GustSample, TurbulenceSeverity};
34pub use error::AtmosError;
35pub use profile::{SoundingLevel, SoundingProfile};
36pub use ussa76::Ussa76;
37pub use wind::{
38 ConstantWind, DirectionTurn, LayeredWind, LogLawWind, PowerLawWind, Wind, WindInterpolation,
39 WindLevel, WindModel, WindSample,
40};