The Standard Interface consists of three categories of software functions that are utilized to manipulate the components that make up a CDF: general CDF functions, rVariable functions, and attribute functions.
The general CDF functions are as follows:
Callable from C | Callable from Fortran | Purpose |
SPMquot CDFcreate() " | SPMquot CDF_create() " | Creates a new CDF. |
CDFopen() | CDF_open() | Opens an existing CDF. |
CDFdoc() | CDF_doc() | Inquires version/release and copyright notice. |
CDFinquire() | CDF_inquire() | Inquires rVariable dimensionality, etc. |
CDFclose() | CDF_close() | Closes a CDF. |
CDFdelete() | CDF_delete() | Deletes a CDF. |
CDFerror() | CDF_error() | Inquires error (status) code meaning. |
The rVariable functions are as follows:
Callable from C | Callable from Fortran | Purpose |
SPMquot CDFvarCreate() " | SPMquot CDF_var_create() " | Creates an rVariable. |
CDFvarNum() | CDF_var_num() | Determines an rVariable number. |
CDFvarRename() | CDF_var_rename() | Renames an rVariable. |
CDFvarInquire() | CDF_var_inquire() | Inquires about an rVariable. |
CDFvarPut() | CDF_var_put() | Writes an rVariable value. |
CDFvarGet() | CDF_var_get() | Reads an rVariable value. |
CDFvarHyperPut() | CDF_var_hyper_put() | Writes one or more rVariable values. |
CDFvarHyperGet() | CDF_var_hyper_get() | Reads one or more rVariable values. |
CDFvarClose() | CDF_var_close() | Closes an rVariable. |
The attribute functions are as follows:
Callable from C | Callable from Fortran | Purpose |
CDFattrCreate() | CDF_attr_create() | Creates an attribute. |
CDFattrNum() | CDF_attr_num() | Determines an attribute number. |
CDFattrRename() | CDF_attr_rename() | Renames an attribute. |
CDFattrInquire() | CDF_attr_inquire() | Inquires about an attribute. |
CDFattrEntryInquire() | CDF_attr_entry_inquire() | Inquires about an attribute rEntry. |
CDFattrPut() | CDF_attr_put() | Writes an attribute rEntry. |
CDFattrGet() | CDF_attr_get() | Reads an attribute rEntry. |
The Standard Interface may be used to access only rVariables and the vAttribute rEntries for rVariables. The Internal Interface must be used to access zVariables and the vAttribute zEntries for zVariables.