Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
43b53d42
Commit
43b53d42
authored
Dec 15, 2009
by
Uwe Schulzweida
Browse files
added attribute.tex
parent
c9cbf8ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitattributes
View file @
43b53d42
...
...
@@ -28,6 +28,7 @@ doc/cdi_cman.pdf -text
doc/cdi_fman.pdf -text
doc/tex/FUNCTIONS -text
doc/tex/Modules -text
doc/tex/attribute.tex -text
doc/tex/bib.tex -text
doc/tex/c_examples.tex -text
doc/tex/c_grid.tex -text
...
...
doc/tex/attribute.tex
0 → 100644
View file @
43b53d42
Attributes may be associated with each variable to specify non
CDI standard properties. CDI standard properties as code, name,
units, and missing value are directly associated with each variable by
the corresponding CDI function (e.g.
{
\htmlref
{
\tt
vlistDefVarName
}{
vlistDefVarName
}}
).
An attribute has a variable to which it is assigned, a name, a type,
a length, and a sequence of one or more values.
The attributes have to be defined after the variable is created and
before the variable list is associated with a stream.
It is also possible to have attributes that are not associated with any variable.
These are called global attributes and are identified by using CDI
\_
GLOBAL as a
variable pseudo-ID. Global attributes are usually related to the dataset as a whole.
CDI supports attributes with tree different data types. The data types
are defined by the following predefined constants:
\vspace*
{
3mm
}
\hspace*
{
8mm
}
\begin{minipage}
{
15cm
}
\begin{deflist}
{{
\large\tt
DATATYPE
\_
TXT
\ \
}}
\item
[{\large\tt DATATYPE\_INT}]
Integer attribute
\item
[{\large\tt DATATYPE\_FLT}]
Floating point attribute
\item
[{\large\tt DATATYPE\_TXT}]
Text attribute
\end{deflist}
\end{minipage}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment