#[cfg(feature = "netcdf")]
mod netcdf;
mod npy;
use std::path::Path;
#[cfg(feature = "netcdf")]
pub use netcdf::{DefineVariable, GetVariable, NetCDF, PutVariable};
pub use npy::{Npy, NpyType};
pub trait Write<P>
where
P: AsRef<Path>,
{
type Error;
fn write(&self, path: P) -> Result<(), Self::Error>;
}