CDF_DOC

The CDF_DOC procedure retrieves general documentation information about a Common Data Format file.

Calling Sequence

CDF_DOC, Id, Version, Release, Copyright

Arguments

Id

A CDF ID, returned from a previous call to CDF_OPEN or CDF_CREATE.

Version

A named variable in which the version number of the CDF library that created the CDF is returned.

Release

A named variable in which the release number of the CDF library that created the CDF is returned.

Copyright

A named variable in which the copyright notice of the CDF library that created the CDF is returned.

Keywords

INCREMENT

Set this keyword to a named variable which will contain the increment of the CDF library that created the specified CDF file.

Example

id=CDF_CREATE('VersionCheck') ; Create a CDF file.

CDF_DOC, id, vers, rel, copy, INCREMENT=incr

PRINT,'File Written Using CDF', vers, rel, incr, $

    FORMAT='(A,I1,".",I1,"r",I2)'

IDL prints:

File Written Using CDF2.6

CDF_CLOSE, id ; Close the CDF file.