makeCDF

Examples of Input Data Files Readable by makeCDF

The following examples of input data files represent some of the formats that are readable by makeCDF. Each input data file example lists the important characteristics of the file. These characteristics are used to create a translation file. A translation file is an ASCII file that describes the input data file to makeCDF. A link to an example of a translation file is included with each input data file example.


Table of Contents for Input Data File Examples


*Return to makeCDF on-line help



Simple ASCII Data File


What can we say about this data file fragment?

94 101  3.25 0.440  215.6  6060.8
94 101  5.75 0.659  195.3  5026.2
94 101  8.15 0.604  185.1  5177.3
94 101 11.20 0.576  167.6  3847.0
94 101 14.65 0.378  151.9  988.2

General Description of File

Description of Time

Description of Variables

Look at translation file for this example

Return to table of contents



Unwanted Header Records


What can we say about this data file fragment?

---------------------------------
Yr Day  Secs Density  V     Temp
---------------------------------
94 101  3.25 0.440  215.6  6060.8
94 101  5.75 0.659  195.3  5026.2
94 101  8.15 0.604  185.1  5177.3
94 101 11.20 0.576  167.6  3847.0
94 101 14.65 0.378  151.9  988.2

General Description of File

Description of Time

Description of Variables

Look at translation file for this example

Return to table of contents



More-Complicated Case of Unwanted Header Records


What can we say about this data file fragment?

--------------------------------------------
DD Mon Year hh:mm:ss   Density  V     Temp
--------------------------------------------
11-Apr-1994 00:00:03.25 0.440  215.6  6060.8
11-Apr-1994 00:00:05.75 0.659  195.3  5026.2
11-Apr-1994 00:00:08.15 0.604  185.1  5177.3
11-Apr-1994 00:00:11.20 0.576  167.6  3847.0
11-Apr-1994 00:00:14.65 0.378  151.9  988.2

General Description of File

Description of Time

Description of Variables

Look at translation file for this example

Return to table of contents



1-dimensional variables


What can we say about this data file fragment?

----------------------------------------------
Yr Day  Secs Density   Vx    Vy    Vz    Temp
----------------------------------------------
94 101  3.25 0.440  -215.6  34.5   7.1  6060.8
94 101  5.75 0.659  -195.3  56.4   4.8  5026.2
94 101  8.15 0.604  -185.1  18.9   6.8  5177.3
94 101 11.20 0.576  -167.6  63.5  23.5  3847.0
94 101 14.65 0.378  -151.9  47.1  34.1  988.2

General Description of File

Description of Time

Description of Variables

Look at translation file for this example

Return to table of contents



2-dimensional variables


What can we say about this data file fragment?

------------------------------------------------------------------
Yr Day  Secs  F11  F12  F13  F21  F22  F23  F31  F32  F33  Temp
------------------------------------------------------------------
94 101  3.25   1.2  4.5 11.3 17.1 31.2 48.4  7.1 10.9 17.4  6060.8
94 101  5.75   0.7  5.2 12.9 16.3 33.4 47.9  6.3 11.7 16.9  5026.2
94 101  8.15   1.1  3.8 14.2 16.7 32.7 49.5  6.1 13.2 19.7  5177.3
94 101 11.20   1.3  6.3 10.8 14.9 34.6 46.8  5.7 12.6 18.5  3847.0
94 101 14.65   0.9  5.5 9.3 15.5 30.8 47.4  7.0 11.9 19.4  988.2

General Description of File

Description of Time

Description of Variables

Look at translation file for this example

Return to table of contents



Records Spanning More Than One Line


What can we say about this data file fragment?

--------------------------------
Yr Day  Secs Density <lf>
Vx    Vy    Vz    Temp <lf>
--------------------------------
94 101  3.25 0.440 <lf> 
-215.6  34.5   7.1  6060.8 <lf>
94 101  5.75 0.659 <lf>
-195.3  56.4   4.8  5026.2 <lf>
94 101  8.15 0.604 <lf>
-185.1  18.9   6.8  5177.3 <lf>

General Description of File

Description of Time

Description of Variables

Look at translation file for this example

Return to table of contents



Header Variables


What can we say about this data file fragment?

Year= 94 Day= 101
3.25  0.440  -215.6  34.5   7.1  6060.8
5.75  0.659  -195.3  56.4   4.8  5026.2
8.15  0.604  -185.1  18.9   6.8  5177.3
11.20 0.576  -167.6  63.5  23.5  3847.0
14.65 0.378  -151.9  47.1  34.1  988.2

General Description of File

Description of Time

Description of Variables

Look at translation file for this example

Return to table of contents



Embedded Variables (embedded in a cycle of repeating sub-records)


What can we say about this data file fragment?

94 101 1 -215.6  34.5   7.1 6060.8  ...  -195.3   56.4   4.8  5026.2
94 102 2 -195.3  56.4   4.8 5100.1  ...    -15.3   96.4  12.3  3456.7
94 103 3 -185.1  18.9   6.8 5177.3  ...  -300.1 100.1   4.8  1234.5

General Description of File

Description of Time

Description of Variables