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 where n is number of the records.
... open and close content of one
dimension. Supposed to be set in file before first variable tag.
... open and close content of one
attribute global or local for variable.
... open and close content of one variable.
name of element name of dimension, attribute
or variable.
double 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.
1, 2, 3, 4,5 contains data of the attribute.
Has to be inside of the tag attribute.
1.e3, 2e4, 3.6e5, 4,5 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:
- shows that LeoNetCDF software application
wrote this file.
C:/example.cdf320001
- gives name of original NetCDF file and its size. Ignored during reading.
n where n is number of the dimensions.
Ignored when reading. Actual numbers of dimensions are considered correct.
n where n is number of the attributes.
Ignored when reading. Actual numbers of attributes are considered correct.
n 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 :
9 tP2
r0 recordchartime
- price time unitcharyears
since Jan. 1970 price unitcharUSD
oil unitcharbarrel
float 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