Trait peroxide::structure::dataframe::WithNetCDF

source ·
pub trait WithNetCDF: Sized {
    // Required methods
    fn write_nc(&self, file_path: &str) -> Result<(), Box<dyn Error>>;
    fn read_nc(file_path: &str) -> Result<Self, Box<dyn Error>>;
    fn read_nc_by_header(
        file_path: &str,
        header: Vec<&str>,
    ) -> Result<Self, Box<dyn Error>>;
}
Expand description

To handle with NetCDF file format

Required Methods§

source

fn write_nc(&self, file_path: &str) -> Result<(), Box<dyn Error>>

source

fn read_nc(file_path: &str) -> Result<Self, Box<dyn Error>>

source

fn read_nc_by_header( file_path: &str, header: Vec<&str>, ) -> Result<Self, Box<dyn Error>>

Object Safety§

This trait is not object safe.

Implementors§