Return to site

Cdf File Reader

broken image


Many Citrix administrators are complaining, that it’s very hard to debug errors in Citrix products. Some times you can switch logging (for example in XenDesktop DDC or VDA). Another time you can find some information in Windows event log. But what about deep debugging. For that purpose Citrix released (in 2007) special tool – CDFControl [CTX111961]. It’s not a problem to collect logs. But how to open them after that? There is a tool – CDFAnalyzer [CTX122741]. So, let’s start:

  1. Cdf File Reader Download
  2. Cdf File Reader Free
  3. Cdf File Reader Files

.cdf Extension - List of programs that can open.cdf files In the following table, you can find a list of programs that can open files with.cdf extension.This list is created by collecting extension information reported by users through the 'send report' option of FileTypesMan utility.

How

Cdf File Opener free download - Free RAR File Opener, Free ZIP File Opener, Winmail Opener, and many more programs. CDF is the Company Data File used in Nominal Accounting, an accounting package for small businesses. This association is classified as Database. This association is classified as Database. Unidata NetCDF (Graphic File) by University Corporation for Atmospheric Research. CDF library includes a suite of tools that allow users to manipulate CDF files Provide read/write interfaces for C, FORTRAN, Java, Perl, C#/Visual Basic, IDL, MATLAB (and user-supplied software, e.g., Python, Sybase, mySQL) More in Frequently-Asked Questions (FAQ).

Load CDFLogFile.etl (generated by CDFControl) into CDFAnalyzer:

In the message column we’ve got some strange strings:

That means, the we didn’t have “symbols” to solve that GUID strings. For downloading that files we will use another Citrix tool – CDFMonitor [CTX129537]. Start the command line, go to CDFMonitor directory and type:

CDFMonitor will ask you for your credentials for citrix.com. I was able to download symbols with and without my username (just clicking “Cancel“):

Cdf File Reader

After that you will see how many TMF files will be downloaded (20963 in that case):

In my case (I have pretty good Internet connection) it tooks about 2 hours to download them all (210MB)

Now, when we have all the TMF files we can configure CDFAnalyzer to use them. From menu choose “Tools” and the “Properties” and put the whole path where TMF files are located.

At the end, load again out traces – CDFLogFile.etl. Voilà 🙂

Note: Periodically refresh all your TMF files from citrix website. Today I’ve downloaded 20963 files. Previous time (2 weeks ago) I got “only” 20760 files. So there are 203 more symbols. And before downloading new files remember to backup the old ones (just in case).

CDF Overview

Tip: For information on the current CDF version, enter the following at the IDL prompt:

The Common Data Format (CDF) is a file format that facilitates the storage and retrieval of multi-dimensional scientific data. CDF is a product of the National Space Science Data Center (NSSDC).

IDL’s CDF routines all begin with the prefix “CDF_”.

Cdf File Reader Download

Programming Model

Creating CDF Files

The following table lists the basic IDL commands needed to create a new CDF file:

CDF_CREATE

Call this procedure to begin creating a new file. CDF_CREATE contains a number of keywords which affect the internal format of the new CDF file.

CDF_VARCREATE

Define the variables to be used in the file.

CDF_ATTPUT

Optionally, use attributes to describe the data.

CDF_VARPUT

Write the appropriate data to the CDF file.

CDF_CLOSE

Close the file.

Reading CDF Files

The following table lists the basic commands needed to read data from a CDF file:

CDF_OPENOpen an existing CDF file.
CDF_INQUIRECall this function to find the general information about the contents of the CDF file.
CDF_CONTROLCall this function to obtain further information about the CDF file
CDF_VARINQRetrieve the names, types, sizes, and other information about the variables in the CDF file.
CDF_VARGETRetrieve the variable values.
CDF_ATTINQOptionally, retrieve the names, scope, and other information about the CDF file's attributes.
CDF_ATTGETOptionally, retrieve the attributes.
CDF_CLOSEClose the file.

If the structure of the CDF file is already known, you do not need to call the inquiry routines—only CDF_OPEN, CDF_ATTGET, CDF_VARGET, and CDF_CLOSE are needed.

Type Conversion

Values are converted to the appropriate type before being written to a CDF file. For example, in this code snippet IDL converts the string “12” to a floating-point 12.0 before writing it:

Cdf File Reader

Cdf File Opener free download - Free RAR File Opener, Free ZIP File Opener, Winmail Opener, and many more programs. CDF is the Company Data File used in Nominal Accounting, an accounting package for small businesses. This association is classified as Database. This association is classified as Database. Unidata NetCDF (Graphic File) by University Corporation for Atmospheric Research. CDF library includes a suite of tools that allow users to manipulate CDF files Provide read/write interfaces for C, FORTRAN, Java, Perl, C#/Visual Basic, IDL, MATLAB (and user-supplied software, e.g., Python, Sybase, mySQL) More in Frequently-Asked Questions (FAQ).

Load CDFLogFile.etl (generated by CDFControl) into CDFAnalyzer:

In the message column we’ve got some strange strings:

That means, the we didn’t have “symbols” to solve that GUID strings. For downloading that files we will use another Citrix tool – CDFMonitor [CTX129537]. Start the command line, go to CDFMonitor directory and type:

CDFMonitor will ask you for your credentials for citrix.com. I was able to download symbols with and without my username (just clicking “Cancel“):

After that you will see how many TMF files will be downloaded (20963 in that case):

In my case (I have pretty good Internet connection) it tooks about 2 hours to download them all (210MB)

Now, when we have all the TMF files we can configure CDFAnalyzer to use them. From menu choose “Tools” and the “Properties” and put the whole path where TMF files are located.

At the end, load again out traces – CDFLogFile.etl. Voilà 🙂

Note: Periodically refresh all your TMF files from citrix website. Today I’ve downloaded 20963 files. Previous time (2 weeks ago) I got “only” 20760 files. So there are 203 more symbols. And before downloading new files remember to backup the old ones (just in case).

CDF Overview

Tip: For information on the current CDF version, enter the following at the IDL prompt:

The Common Data Format (CDF) is a file format that facilitates the storage and retrieval of multi-dimensional scientific data. CDF is a product of the National Space Science Data Center (NSSDC).

IDL’s CDF routines all begin with the prefix “CDF_”.

Cdf File Reader Download

Programming Model

Creating CDF Files

The following table lists the basic IDL commands needed to create a new CDF file:

CDF_CREATE

Call this procedure to begin creating a new file. CDF_CREATE contains a number of keywords which affect the internal format of the new CDF file.

CDF_VARCREATE

Define the variables to be used in the file.

CDF_ATTPUT

Optionally, use attributes to describe the data.

CDF_VARPUT

Write the appropriate data to the CDF file.

CDF_CLOSE

Close the file.

Reading CDF Files

The following table lists the basic commands needed to read data from a CDF file:

CDF_OPENOpen an existing CDF file.
CDF_INQUIRECall this function to find the general information about the contents of the CDF file.
CDF_CONTROLCall this function to obtain further information about the CDF file
CDF_VARINQRetrieve the names, types, sizes, and other information about the variables in the CDF file.
CDF_VARGETRetrieve the variable values.
CDF_ATTINQOptionally, retrieve the names, scope, and other information about the CDF file's attributes.
CDF_ATTGETOptionally, retrieve the attributes.
CDF_CLOSEClose the file.

If the structure of the CDF file is already known, you do not need to call the inquiry routines—only CDF_OPEN, CDF_ATTGET, CDF_VARGET, and CDF_CLOSE are needed.

Type Conversion

Values are converted to the appropriate type before being written to a CDF file. For example, in this code snippet IDL converts the string “12” to a floating-point 12.0 before writing it:

Code Examples

Cdf File Reader Free

Creating a CDF File

The following example demonstrates the basic procedure for creating a CDF file.

Variables and Attributes

Information in a CDF file consists of attributes (metadata) and collections of data records (variables).

Variables

IDL can create CDF files representing any data that can be stored in a zero- to eight-dimensional array. CDF supports two distinct types of variables, rVariables and zVariables. For reasons of efficiency, CDF uses variances to indicate whether data is unique between records and dimensions. For example, consider a data set of simultaneous surface temperatures at a variety of locations, the IDL code for creating the CDF file is included at the end of this section. A variable representing “GMT time” will vary from record to record, but not dimension to dimension (since all data are taken simultaneously). On the other hand, a variable such as longitude may not vary from record to record, but will vary from dimension to dimension. Record variance is set using the REC_VARY and REC_NOVARY keywords to CDF_VARCREATE, while dimensional variance is set through the DimVary argument to CDF_VARCREATE. In both cases, the default is varying data.

Cdf File Reader Files

rVariables

rVariables (or regular variables) are multidimensional arrays of values, each having the same dimensions. That is, all rVariables in a CDF must have the same number of dimensions and dimension sizes. In IDL, the rVariable dimension sizes are declared when the CDF file is first created with CDF_CREATE. In the example at the end of this section, all variables except time are rVariables.

zVariables

zVariables (The z doesn’t stand for anything—the CDF people just like the letter z) are multidimensional arrays of values of the same data type. zVariables can have different dimensionality from other zVariables and rVariables. In general, zVariables are much more flexible, and therefore easier to use, than rVariables.

Attributes

Attributes can contain auxiliary information about an entire CDF file (global scope attributes or gAttributes), or about particular CDF variables (variable scope attributes or rAttributes/zAttributes depending on variable type). CDF attributes can be scalar or vector in nature, and of any valid datatype. In the case of vector, or multiple entry, attributes the user must keep track of the entry numbers (in CDF terms these are the gEntry, rEntry, or zEntry numbers depending on attribute type). For example, every rVariable in a CDF file might have an rAttribute named “Date”. A vector zVariable might have a zAttribute named “Location” with values such as [“Melbourne Beach”, “Crowley”,...]. A global attribute “MODS” might be used to keep track of the modification history of a CDF file (see CDF_ATTPUT). Note however, that variables cannot have multiple attributes with the same names. In IDL, CDF attributes are created with CDF_ATTPUT and retrieved with CDF_ATTGET.

Specifying Attributes and Variables

Variables and attributes can be referred to either by name or by their ID numbers in most CDF routines. For example, in the CDF_VARCREATE command shown in the example Type Conversion, the following command would have been equivalent:

CDF File Options

File Type

The SINGLE_FILE and MULTI_FILE keywords to CDF_CREATE allow CDFs to be written as either:

  1. all data in a single file, or
  2. a separate file for each variable, plus a master file for global information.

Data Encodings/Decodings

Keywords to CDF_CREATE allow files to be written in a variety of data encoding and decoding options. (For example, the /SUN_ENCODING keyword creates a file in the SUN native encoding scheme). The default encoding/decoding is network (XDR). All CDF encodings and decodings can be written or read on all platforms, but matching the encoding with the architecture used provides the best performance. If you work in a single-platform environment most of the time, select HOST_ENCODING for maximum performance. If you know that the CDF file will be transported to a computer using another architecture, specify the encoding for the target architecture or specify NETWORK_ENCODING (the default). Specifying the target architecture provides maximum performance on that architecture; specifying NETWORK_ENCODING provides maximum flexibility.






broken image