Previous: NetCDF-4 Classic Model Format, Up: File Format


C.5 HDF4 SD Format

Starting with version 4.1, the netCDF libraries can read HDF4 SD (Scientific Dataset) files. Access is limited to those HDF4 files created with the Scientific Dataset API. Access is read-only.

Dataset types are translated between HDF4 and netCDF in a straighforward manner.

DFNT_CHAR
NC_CHAR
DFNT_UCHAR, DFNT_UINT8
NC_UBYTE
DFNT_INT8
NC_BYTE
DFNT_INT16
NC_SHORT
DFNT_UINT16
NC_USHORT
DFNT_INT32
NC_INT
DFNT_UINT32
NC_UINT
DFNT_FLOAT32
NC_FLOAT
DFNT_FLOAT64
NC_DOUBLE