What is happening
Classic NetCDF begins with a magic value and a header describing dimensions, attributes, and variables. NetCDF-4 uses HDF5. Incorrect offsets, truncated record data, a damaged header, or incompatible library behavior can make variables inaccessible while some data blocks remain readable.