>



+

-

XML syntactic compatible with NetCDF format.

LeoNetCDF software application recognizes the following tags during reading (note that all other content of the file is either ignored or considered as a comments or can lead to the mistakes of reading):

<n_records>n</n_records> where n is number of the records.

<dimension>...</dimension> open and close content of one dimension. Supposed to be set in file before first variable tag.

<attribute>...</attribute> open and close content of one attribute global or local for variable.

<variable>...</variable> open and close content of one variable.

<name>name of element</name> name of dimension, attribute or variable.

<type>double</type> type of data of attribute or variable there are six different formats of data available:
char - string in ANSI format,
byte - integers in interval 0 - 255,
short - integers in interval -32K - +32K,
integer - integers in interval -2*10^9 - +2*10^9,
float - 32-bit IEEE floating-point,
double - 64-bit IEEE floating-point,

note that content of tag type can content other information that are ignored.

<adata>1, 2, 3, 4,5 </adata> contains data of the attribute. Has to be inside of the tag attribute.

<vdata>1.e3, 2e4, 3.6e5, 4,5 </vdata> contains data of the variable. Has to be inside of the tag variable and after type tag records are space or comma divided.

Comment tags these LeoNetCDF will write into XML file but those will be ignored during the reading:

<LeoNetCDF> - shows that LeoNetCDF software application wrote this file.

<file><name>C:/example.cdf</name><size>320001</size></file> - gives name of original NetCDF file and its size. Ignored during reading.

<n_dimensions>n</n_dimensions> where n is number of the dimensions.
Ignored when reading. Actual numbers of dimensions are considered correct.

<n_attributes>n</n_attributes> where n is number of the attributes.
Ignored when reading. Actual numbers of attributes are considered correct.

<n_variables>n</n_variables> where n is number of the variables.
Ignored when reading. Actual numbers of variables are considered correct.

Here is an valid example of content of simple XML file that can be converted in NetCDF format by LeoNetCDF software application :

<n_records>9</n_records>
<dimension><name>tP</name><size>2</size></dimension>
<dimension><name>r</name><size>0</size></dimension>
<attribute><name>record</name><type>char</type><adata>time
 - price</adata></attribute>
<attribute><name>time unit</name><type>char</type><adata>years
 since Jan. 1970</adata></attribute>
<attribute><name>price unit</name><type>char</type><adata>USD</adata></attribute>
<variable>
<name>oil</name>
<attribute><name>unit</name><type>char</type><adata>barrel</adata></attribute>
<type>float</type>
<vdata>
0, 1.8,
5, 12.77,
10, 30.75,
15, 27.49.
20, 20.51, 25, 16.56, 30, 25.29, 32, 17.04, 33, 34 </vdata> </variable>
Comments:

About Products Data analysis Crystal growth E-Vault Downloads Donate Contact Site Map © LeoKrut