variable.tex 1.42 KB
Newer Older
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
This module contains functions to add new variables to a
variable list and to get information about variables from
a variable list. To add new variables to a variables list
one of the following time types must be specified:

\vspace*{3mm}
\hspace*{8mm}\begin{minipage}{15cm}
\begin{deflist}{{\large\tt TIME\_CONSTANT \ \ }}
\item[{\large\tt TIME\_CONSTANT }]  For time constant variables
\item[{\large\tt TIME\_VARIABLE }]  For time varying variables
\end{deflist}
\end{minipage}
\vspace*{3mm}

15
The default data type is 16 bit for GRIB and 32 bit for all other
Uwe Schulzweida's avatar
Uwe Schulzweida committed
16
17
file format types. To change the data type use one of the following 
predefined constants:
Uwe Schulzweida's avatar
Uwe Schulzweida committed
18
19
20
21

\vspace*{3mm}
\hspace*{8mm}\begin{minipage}{15cm}
\begin{deflist}{{\large\tt DATATYPE\_PACK1 \ \ }}
22
23
24
\item[{\large\tt DATATYPE\_PACK8}]    8 packed bit (only for GRIB)
\item[{\large\tt DATATYPE\_PACK16}]  16 packed bit (only for GRIB)
\item[{\large\tt DATATYPE\_PACK24}]  24 packed bit (only for GRIB)
Uwe Schulzweida's avatar
Uwe Schulzweida committed
25
26
\item[{\large\tt DATATYPE\_FLT32}]   32 bit floating point
\item[{\large\tt DATATYPE\_FLT64}]   64 bit floating point
Uwe Schulzweida's avatar
Uwe Schulzweida committed
27
28
\end{deflist}
\end{minipage}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
29
30
31
32
33
34
35
36
37
38
39
40
%\vspace*{3mm}
%
%To define attributes, one of the following data types must be use:
%
%\vspace*{3mm}
%\hspace*{8mm}\begin{minipage}{15cm}
%\begin{deflist}{{\large\tt DATATYPE\_TXT \ \ }}
%\item[{\large\tt DATATYPE\_TXT}]   Text
%\item[{\large\tt DATATYPE\_INT}]   Integer
%\item[{\large\tt DATATYPE\_FLT}]   Floating point
%\end{deflist}
%\end{minipage}
Uwe Schulzweida's avatar
Uwe Schulzweida committed
41