pub fn parse_header(data: &[u8], format: NcFormat) -> Result<ClassicHeader>Expand description
Parse a complete classic NetCDF header from raw file bytes.
The format parameter must be one of Classic, Offset64, or Cdf5
(the caller has already read and validated the magic bytes).