[][src]Crate sounding_analysis

Functions and data types for analyzing soundings from the sounding-base crate.

Purpose

Provides analysis capabilities for the sounding-base crate.

Structs

Analysis

Convenient package for commonly requested analysis values.

Layer

A layer in the atmosphere described by the values at the top and bottom.

Parcel

Variables defining a parcel as used in parcel analysis.

ParcelAnalysis

Parcel analysis, this is a way to package the analysis of a parcel.

ParcelProfile

Hold profiles for a parcel and it's environment.

Enums

AnalysisError

Error type for the crate.

ParcelIndex

Indexes from a parcel analysis of a sounding.

ProfileIndex

Sounding indexes calculated from the sounding and not any particular profile.

Functions

cold_surface_temperature_layer

Assuming a warm layer aloft given by warm_layers, measure the cold surface layer.

convective_parcel

Get the convective parcel - this is the surface parcel that will rise without any lifting.

dcape

Downdraft CAPE.

dendritic_snow_zone

Find the dendtritic growth zones throughout the profile. It is unusual, but possible there is more than one.

equivalent_potential_temperature

Given a sounding, calculate a profile of the equivalent potential temperature.

freezing_levels

Find the freezing/melting levels below 500 hPa.

hail_growth_zone

Find the hail growth zones throughout the profile. It is very unusual, but possible there is more than one.

haines

The Haines index for fire weather.

haines_high

The high level version of the Haines index for fire weather.

haines_low

The low level version of the Haines index for fire weather.

haines_mid

The mid level version of the Haines index for fire weather.

hot_dry_windy

The Hot-Dry-Windy index

hydrolapse

Get the hydrolapse in (kg/kg)/km

inversions

Get all inversion layers up to a specified pressure.

kindex

The K-index

layer_agl

Get a layer that has a certain thickness, like 3km or 6km.

lift_parcel

Lift a parcel for a convective parcel analysis.

linear_interpolate

Interpolate values given two parallel vectors of data and a target value.

linear_interpolate_sounding

Interpolate values from the vertical sounding using pressure as the primary coordinate.

max_temperature_in_layer

Maximum temperature in a layer.

max_temperature_in_profile

Maximum temperature aloft.

max_wet_bulb_in_layer

Maximum wet bulb temperature in a layer.

max_wet_bulb_in_profile

Maximum wet bulb temperature aloft.

mix_down

Descend a parcel dry adiabatically.

mixed_layer_parcel

Create a mixed layer parcel.

most_unstable_parcel

Get the most unstable parcel.

partition_cape

Partition the CAPE between dry and moist ascent contributions. EXPERIMENTAL.

potential_temperature

Given a sounding, calculate a profile of the potential temperature.

precipitable_water

Precipitable water (mm)

pressure_layer

Get a layer defined by two pressure levels. bottom_p > top_p

pressure_parcel

Get the parcel at a specific pressure.

relative_humidity

Given a sounding, calculate a profile of relative humidity.

sfc_based_inversion

Get a surface based inversion.

sfc_to_level_temperature_lapse_rate

Get a profile of the average lapse rate from the surface to *, or the level on the y axis.

surface_parcel

Get a surface parcel.

swet

The SWeT (Severe Weather Threat) index

temperature_lapse_rate

Get a profile of the lapse rate between layers in °C / km.

theta_e_lapse_rate

Get the lapse rate of equivalent potential temperature in °K / km.

total_totals

The Total Totals index

warm_temperature_layer_aloft

Assuming it is below freezing at the surface, this will find the warm layers aloft using the dry bulb temperature. Does not look above 500 hPa.

warm_wet_bulb_layer_aloft

Assuming the wet bulb temperature is below freezing at the surface, this will find the warm layers aloft using the wet bulb temperature. Does not look above 500 hPa.

wet_bulb

Given a sounding, calculate a profile of wet bulb temperature.

wet_bulb_zero_levels

Find the wet bulb zero levels

Type Definitions

Layers

A list of layers.

Level

A level in the atmosphere is described by a DataRow from a sounding.

Levels

A list of levels.

Result

Shorthand for results.