HE5

application/x-hdf

Safe

Magic Bytes

Offset: 0
0E 03 13 01

The HDF-EOS5 (HE5) format is a specialized standard developed by NASA to manage data from Earth Observing System missions, built upon the underlying Hierarchical Data Format 5 (HDF5) technology. It is utilized extensively by the scientific community for organizing complex multidimensional datasets, satellite imagery, and geospatial metadata. While the format serves as a safe container for binary scientific data, specialized libraries are typically required to correctly interpret the specific EOS structural extensions embedded within the file.

Extension

.he5

MIME Type

application/x-hdf

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .he5 files in Python

Python
def is_he5(file_path: str) -> bool:
    """Check if file is a valid HE5 by magic bytes."""
    signature = bytes([0x0E, 0x03, 0x13, 0x01])
    with open(file_path, "rb") as f:
        return f.read(4) == signature

How to validate .he5 files in Node.js

Node.js
function isHE5(buffer: Buffer): boolean {
  const signature = Buffer.from([0x0E, 0x03, 0x13, 0x01]);
  return buffer.subarray(0, 4).equals(signature);
}
Go
func IsHE5(data []byte) bool {
    signature := []byte{0x0E, 0x03, 0x13, 0x01}
    if len(data) < 4 {
        return false
    }
    return bytes.Equal(data[:4], signature)
}

API Endpoint

GET /api/v1/he5
curl https://filesignature.org/api/v1/he5

Related Formats