Skip to main content

Module header

Module header 

Source
Expand description

Parse the NetCDF classic (CDF-1/2/5) binary header.

The classic header is a sequence of big-endian fields describing dimensions, global attributes, and variables. All multi-byte integers are big-endian. Strings are padded to 4-byte alignment. CDF-5 uses 8-byte counts and sizes where CDF-1/2 use 4-byte values.

Structs§

ClassicHeader
Result of parsing a classic NetCDF header.

Functions§

parse_header
Parse a complete classic NetCDF header from raw file bytes.