All CDF data types are handled. They are understood for data entries (record lines) `Variable Attribute' values and `Global Attribute' values.
CDF_CHAR
CDF_UCHAR
CDF_BYTE
CDF_INT1
CDF_UINT1
CDF_INT2
CDF_UINT2
CDF_INT4
CDF_UINT4
CDF_REAL4
CDF_FLOAT
CDF_REAL8
CDF_DOUBLE
CDF_EPOCH
Character data types (CDF_CHAR, CDF_UCHAR) take the form of a quoted string in the input
`iff' file. Non-printing character values may be written using ascii hexadecimal escape codes.
If the character combinations ` x' or `
X' are found in an input text
string, the following two characters are treated as hexadecimal values and are
converted to their ascii character counterparts. For example, the ISTP fill
value may be entered as
``
XFF'' or ``
xff''.
Single byte data types (CDF_BYTE, CDF_INT1, CDF_UINT1) also accept hexadecimal escape codes for their numeric values. Distinct bytes must be space separated whether they are hexadecimal or decimal representations. CDF_BYTE and CDF_INT1 are equivalent.
Other data types are converted from the input string using the atoi and atof functions as appropriate and do not accept hexadecimal escapes. All numeric entries must be space separated.