CDF C Reference Manual
Each source file that calls the CDF library or references CDF parameters must include cdf.h. On OpenVMS systems a logical name, CDF$INC, that specifies the location of cdf.h is defined in the definitions file, DEFINITIONS.COM, provided with the CDF distribution. On UNIX systems (including Mac OS X) an environment variable, CDF_INC, that serves the same purpose is defined in the definitions file definitions. where is the type of shell being used: C for the C-shell (csh and tcsh), K for the Korn (ksh), BASH, and POSIX shells, and B for the Bourne shell (sh). This section assumes that you are using the appropriate definitions file on those systems. The location of cdf.h is specified as described in the appropriate sections for those systems.
…
Your applications must be linked with the CDF library.1 Both the Standard and Internal interfaces for C applications are built into the CDF library. On OpenVMS systems, a logical name, CDF$LIB, which specifies the location of the CDF library, is defined in the definitions file, DEFINITIONS.COM, provided with the CDF distribution. On UNIX systems (including Mac OS X) an environment variable, CDF_LIB, which serves the same purpose, is defined in the definitions file definitions.
…
A CDF’s data encoding affects how its attribute entry and variable data values are stored (on disk). Attribute entry and variable values passed into the CDF library (to be written to a CDF) should always be in the host machine’s native encoding. Attribute entry and variable values read from a CDF by the CDF library and passed out to an application will be in the currently selected decoding for that CDF (see the Concepts chapter in the CDF User’s Guide).
…
Website: nssdcftp.gsfc.nasa.gov | Filesize: 666kb
No of Page(s): 165
Click here to download CDF C Reference Manual.
Related Tutorial
Tags: CDF, Mac OS, UNIX/Linux, Windows
Comments
Leave a Reply