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
//! Crate to manage and interface with an archive of
//! [bufkit](https://training.weather.gov/wdtd/tools/BUFKIT/index.php) files.
//!
//! This is developed originally as a component crate for
//! [sonde](https://github.com/rnleach/sonde.git), but it also supports a set of command line tools
//! for utilizing the archive (not yet on github). In general, it may be useful to anyone interested
//! in archiving bufkit files.
//!
//! The current implementation uses an [sqlite]() database to keep track of files stored in a
//! common directory. The files are compressed, and so should only be accessed via the api provided
//! by this crate.
//!
#![deny(missing_docs)]
//
// Public API
//
pub use archive::Archive;
pub use errors::BufkitDataErr;
pub use inventory::Inventory;
pub use models::Model;
pub use site::{Site, StateProv};
//
// Implementation only
//
extern crate chrono;
#[macro_use]
extern crate failure;
extern crate flate2;
extern crate rusqlite;
extern crate sounding_analysis;
extern crate sounding_bufkit;
extern crate strum;
#[macro_use]
extern crate strum_macros;
mod archive;
mod errors;
mod inventory;
mod models;
mod site;
#[cfg(test)]
extern crate tempdir;