This section describes functions from file CDF.ct.
[] = import_CDF(fn...)
import_CDF("fyle") reads the variables in CDF file "fyle.cdf"
into Tela workspace. Notice that you must leave out the suffix .cdf!
import_CDF("fyle","var1","var2",...) reads only variables with
specified names.
Limitations:
- Only rVariables are currently recognized
- The row major/col major flag is ignored
Error codes:
1: Loading INT2/UINT2 CDF data, but this Tela kernel has sizeof(short int) != 2
2: Loading INT4/UINT4 CDF data, but this Tela kernel has sizeof(int) != 4
3: Loading FLOAT CDF data, but this Tela kernel has sizeof(float) != 4
4: Loading DOUBLE CDF data, but this Tela kernel has sizeof(double) != 8
5: Empty variable name in CDF file - ignoring
-1: First argument not a string
-2: Fatal CDF library error
-3: Unsupported data type
-4: Too high rank in CDF file for this Tela kernel
-5: Function called with more than one argument and the rest are not all strings
-10: Internal error
Next Chapter, Previous Chapter
Table of contents of this chapter, General table of contents
Top of the document, Beginning of this Chapter