Struct sounding_base::sounding::Sounding [] [src]

pub struct Sounding {
    pub num: OptionVal<i32>,
    pub valid_time: Option<NaiveDateTime>,
    pub lead_time: OptionVal<i32>,
    pub lat: OptionVal<f32>,
    pub lon: OptionVal<f32>,
    pub elevation: OptionVal<f32>,
    pub show: OptionVal<f32>,
    pub li: OptionVal<f32>,
    pub swet: OptionVal<f32>,
    pub kinx: OptionVal<f32>,
    pub lclp: OptionVal<f32>,
    pub pwat: OptionVal<f32>,
    pub totl: OptionVal<f32>,
    pub cape: OptionVal<f32>,
    pub lclt: OptionVal<f32>,
    pub cins: OptionVal<f32>,
    pub eqlv: OptionVal<f32>,
    pub lfc: OptionVal<f32>,
    pub brch: OptionVal<f32>,
    pub hain: OptionVal<i32>,
    pub pressure: Vec<OptionVal<f32>>,
    pub temperature: Vec<OptionVal<f32>>,
    pub wet_bulb: Vec<OptionVal<f32>>,
    pub dew_point: Vec<OptionVal<f32>>,
    pub theta_e: Vec<OptionVal<f32>>,
    pub direction: Vec<OptionVal<f32>>,
    pub speed: Vec<OptionVal<f32>>,
    pub omega: Vec<OptionVal<f32>>,
    pub height: Vec<OptionVal<f32>>,
    pub cloud_fraction: Vec<OptionVal<f32>>,
    pub mslp: OptionVal<f32>,
    pub station_pres: OptionVal<f32>,
    pub low_cloud: OptionVal<f32>,
    pub mid_cloud: OptionVal<f32>,
    pub hi_cloud: OptionVal<f32>,
    pub uwind: OptionVal<f32>,
    pub vwind: OptionVal<f32>,
}

All the variables stored in the sounding.

The upper air profile variables are stored in parallel vectors. If a profile lacks a certain variable, e.g. cloud fraction, that whole vector has length 0 instead of being full of missing values.

Fields

station number, USAF number, eg 727730

Valid time of sounding

Difference in model initialization time and valid_time in hours.

Latitude of grid point used to make sounding.

Longitude of grid point used to make sounding.

Elevation of grid point in meters, this is in model terrain, not necessarily the same as the real world.

Showalter index

Lifted index

Severe Weather Threat Index

K-index

Lifting Condensation Level, or LCL (hPa), pressure vertical coordinate.

Precipitable Water (mm)

Total-Totals

Convective Available Potential Energy, or CAPE. (J/kg)

Temperature at LCL (K)

Convective Inhibitive Energy, or CIN (J/kg)

Equilibrium Level (hPa), pressure vertical coordinate

Level of Free Convection (hPa), pressure vertical coordinate

Bulk Richardson Number

Haines Index

Pressure (hPa) profile

Temperature (c) profile

Wet-bulb (c) profile

Dew Point (C) profile

Equivalent Potential Temperature (K) profile

Wind direction (degrees) profile

Wind speed (knots) profile

Vertical velocity (Pa/sec), pressure vertical coordinate

Geopotential Height (m) profile

Cloud coverage fraction in percent

Surface pressure reduce to mean sea level (hPa)

Surface pressure (hPa)

Low cloud fraction

Mid cloud fraction

Hi cloud fraction

U - wind speed (m/s) (West -> East is positive)

V - wind speed (m/s) (South -> North is positive)

Methods

impl Sounding
[src]

[src]

Validates the sounding with some simple sanity checks. For instance, checks that pressure decreases with height.

[src]

Returns the maximum and minimum extents. (max_pressure, min_pressure, (t_min_ext, p_min_ext),(t_max_ext, p_max_ext))

Trait Implementations

impl Default for Sounding
[src]

[src]

Returns the "default value" for a type. Read more