1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#![warn(missing_docs)]
/*!
Functions and data types for analyzing soundings from the 
[sounding-base](https://github.com/rnleach/sounding-base.git) crate.

## Purpose
Provides analysis capabilities for the [sounding-base](https://github.com/rnleach/sounding-base.git) 
crate.

*/

//
// API
//
pub use analysis::{Analysis, ParcelAnalysis, ParcelIndex, ProfileIndex};

pub mod error;
pub use error::*;

pub mod indexes;

pub use interpolation::{linear_interpolate, linear_interpolate_sounding};

pub mod layers;
pub use layers::{Layer, Layers};

pub mod levels;
pub use levels::{Level, Levels};

pub mod parcel;
pub use parcel::{Parcel, ParcelProfile};

pub mod profile;

//
// Internal use only
//

// 3rd party libs
extern crate failure;
#[macro_use]
extern crate failure_derive;
#[macro_use]
extern crate itertools;
extern crate smallvec;

// framework libs
extern crate metfor;
extern crate optional;
extern crate sounding_base;

// dev only libs
#[cfg(test)]
extern crate sounding_validate;

// Modules
mod analysis;
mod interpolation;

pub(crate) const VEC_SIZE: usize = 2;