Skip to main content

netcdf_encode

Function netcdf_encode 

Source
pub fn netcdf_encode(nc: &NetCdf) -> Result<Vec<u8>, ErrorsJSL>
Expand description

Writes a NetCDF-3 file (SciPy’s netcdf_file(..., "w")) in the declared version: the header, then the fixed-size variables, then the records. The number of records is taken from the record variables’ data, which must agree.