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
23758023
Commit
23758023
authored
May 20, 2011
by
Uwe Schulzweida
Browse files
Docu update
parent
bf257529
Changes
21
Hide whitespace changes
Inline
Side-by-side
app/cdi.c
View file @
23758023
...
...
@@ -231,9 +231,9 @@ void printShortinfo(int streamID, int vlistID, int vardis)
int
timeID
,
taxisID
;
int
nbyte
,
nbyte0
;
int
index
;
char
varname
[
128
];
char
longname
[
128
];
char
units
[
128
];
char
varname
[
CDI_MAX_NAME
];
char
longname
[
CDI_MAX_NAME
];
char
units
[
CDI_MAX_NAME
];
double
level
;
char
*
modelptr
,
*
instptr
;
int
datatype
;
...
...
@@ -684,7 +684,7 @@ int main(int argc, char *argv[])
int
varID
;
int
itableID
=
CDI_UNDEFID
,
otableID
=
CDI_UNDEFID
;
int
Info
=
1
;
char
varname
[
128
];
char
varname
[
CDI_MAX_NAME
];
char
paramstr
[
32
];
Progname
=
strrchr
(
argv
[
0
],
'/'
);
...
...
app/printinfo.h
View file @
23758023
...
...
@@ -132,7 +132,7 @@ void printGridInfo(int vlistID)
int
ngrids
,
index
;
int
gridID
,
gridtype
,
trunc
,
gridsize
,
xsize
,
ysize
;
int
nbyte0
;
char
xname
[
128
],
yname
[
128
],
xunits
[
128
],
yunits
[
128
];
char
xname
[
CDI_MAX_NAME
],
yname
[
CDI_MAX_NAME
],
xunits
[
CDI_MAX_NAME
],
yunits
[
CDI_MAX_NAME
];
ngrids
=
vlistNgrids
(
vlistID
);
for
(
index
=
0
;
index
<
ngrids
;
index
++
)
...
...
@@ -148,9 +148,7 @@ void printGridInfo(int vlistID)
gridInqXunits
(
gridID
,
xunits
);
gridInqYunits
(
gridID
,
yunits
);
/* nbyte0 = fprintf(stdout, " %4d : %-23s : ",*/
nbyte0
=
fprintf
(
stdout
,
" %4d : %-12s > "
,
index
+
1
,
gridNamePtr
(
gridtype
));
nbyte0
=
fprintf
(
stdout
,
" %4d : %-12s > "
,
index
+
1
,
gridNamePtr
(
gridtype
));
if
(
gridtype
==
GRID_LONLAT
||
gridtype
==
GRID_LCC2
||
...
...
configure
View file @
23758023
...
...
@@ -788,6 +788,7 @@ enable_fast_install
enable_dependency_tracking
with_gnu_ld
enable_libtool_lock
with_gnu_ld
enable_largefile
with_threads
with_zlib
...
...
@@ -817,14 +818,23 @@ LDFLAGS
LIBS
CPPFLAGS
CPP
CPPFLAGS
FC
FCFLAGS
LDFLAGS
LIBS
F77
FFLAGS
LDFLAGS
LIBS
CXX
CXXFLAGS
LDFLAGS
LIBS
CPPFLAGS
CCC
CXXCPP
CPPFLAGS
FCMODEXT'
...
...
doc/tex/c_grid.tex
View file @
23758023
...
...
@@ -67,7 +67,7 @@ Here is an example using {\tt gridCreate} to create a regular lon/lat Grid:
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
gridID
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\end{deflist}
\end{minipage}
...
...
@@ -115,7 +115,7 @@ The function {\tt gridInqType} returns the type of a Grid.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
gridID
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\end{deflist}
\end{minipage}
...
...
@@ -171,9 +171,9 @@ The function {\tt gridDefXsize} defines the number of values of a X-axis.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
gridID
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt xsize}]
Number of values of a X-axis
Number of values of a X-axis
.
\end{deflist}
\end{minipage}
...
...
@@ -194,7 +194,7 @@ The function {\tt gridInqXsize} returns the number of values of a X-axis.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
gridID
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\end{deflist}
\end{minipage}
...
...
@@ -220,9 +220,9 @@ The function {\tt gridDefYsize} defines the number of values of a Y-axis.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
gridID
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt ysize}]
Number of values of a Y-axis
Number of values of a Y-axis
.
\end{deflist}
\end{minipage}
...
...
@@ -243,7 +243,7 @@ The function {\tt gridInqYsize} returns the number of values of a Y-axis.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
gridID
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\end{deflist}
\end{minipage}
...
...
@@ -269,9 +269,9 @@ The function {\tt gridDefXvals} defines all values of the X-axis.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
gridID
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt xvals}]
X-values of the grid
X-values of the grid
.
\end{deflist}
\end{minipage}
...
...
@@ -292,9 +292,9 @@ The function {\tt gridInqXvals} returns all values of the X-axis.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
gridID
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt xvals}]
X-values of the grid
X-values of the grid
.
\end{deflist}
\end{minipage}
...
...
@@ -322,9 +322,9 @@ The function {\tt gridDefYvals} defines all values of the Y-axis.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
gridID
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt yvals}]
Y-values of the grid
Y-values of the grid
.
\end{deflist}
\end{minipage}
...
...
@@ -345,9 +345,9 @@ The function {\tt gridInqYvals} returns all values of the Y-axis.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
gridID
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt yvals}]
Y-values of the grid
Y-values of the grid
.
\end{deflist}
\end{minipage}
...
...
@@ -375,9 +375,9 @@ The function {\tt gridDefXbounds} defines all bounds of the X-axis.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
xbounds
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt xbounds}]
X-bounds of the grid
X-bounds of the grid
.
\end{deflist}
\end{minipage}
...
...
@@ -398,9 +398,9 @@ The function {\tt gridInqXbounds} returns the bounds of the X-axis.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
xbounds
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt xbounds}]
X-bounds of the grid
X-bounds of the grid
.
\end{deflist}
\end{minipage}
...
...
@@ -428,9 +428,9 @@ The function {\tt gridDefYbounds} defines all bounds of the Y-axis.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
ybounds
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt ybounds}]
Y-bounds of the grid
Y-bounds of the grid
.
\end{deflist}
\end{minipage}
...
...
@@ -451,9 +451,9 @@ The function {\tt gridInqYbounds} returns the bounds of the Y-axis.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
ybounds
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt ybounds}]
Y-bounds of the grid
Y-bounds of the grid
.
\end{deflist}
\end{minipage}
...
...
@@ -481,9 +481,9 @@ The function {\tt gridDefXname} defines the name of a X-axis.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
gridID
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt name}]
Name of the X-axis
Name of the X-axis
.
\end{deflist}
\end{minipage}
...
...
@@ -498,15 +498,17 @@ The function {\tt gridInqXname} returns the name of a X-axis.
\subsubsection*
{
Usage
}
\begin{verbatim}
void gridInqXname(int gridID,
const
char *name);
void gridInqXname(int gridID, char *name);
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
gridID
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt name}]
Name of the X-axis
Name of the X-axis. The caller must allocate space for the
returned string. The maximum possible length, in characters, of
the string is given by the predefined constant CDI
\_
MAX
\_
NAME.
\end{deflist}
\end{minipage}
...
...
@@ -532,9 +534,9 @@ The function {\tt gridDefXlongname} defines the longname of a X-axis.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
longname
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt longname}]
Longname of the X-axis
Longname of the X-axis
.
\end{deflist}
\end{minipage}
...
...
@@ -549,15 +551,17 @@ The function {\tt gridInqXlongname} returns the longname of a X-axis.
\subsubsection*
{
Usage
}
\begin{verbatim}
void gridInqXlongname(int gridID,
const
char *longname);
void gridInqXlongname(int gridID, char *longname);
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
longname
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt longname}]
Longname of the X-axis
Longname of the X-axis. The caller must allocate space for the
returned string. The maximum possible length, in characters, of
the string is given by the predefined constant CDI
\_
MAX
\_
NAME.
\end{deflist}
\end{minipage}
...
...
@@ -583,9 +587,9 @@ The function {\tt gridDefXunits} defines the units of a X-axis.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
gridID
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt units}]
Units of the X-axis
Units of the X-axis
.
\end{deflist}
\end{minipage}
...
...
@@ -600,15 +604,17 @@ The function {\tt gridInqXunits} returns the units of a X-axis.
\subsubsection*
{
Usage
}
\begin{verbatim}
void gridInqXunits(int gridID,
const
char *units);
void gridInqXunits(int gridID, char *units);
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
gridID
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt units}]
Units of the X-axis
Units of the X-axis. The caller must allocate space for the
returned string. The maximum possible length, in characters, of
the string is given by the predefined constant CDI
\_
MAX
\_
NAME.
\end{deflist}
\end{minipage}
...
...
@@ -634,9 +640,9 @@ The function {\tt gridDefYname} defines the name of a Y-axis.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
gridID
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt name}]
Name of the Y-axis
Name of the Y-axis
.
\end{deflist}
\end{minipage}
...
...
@@ -651,15 +657,17 @@ The function {\tt gridInqYname} returns the name of a Y-axis.
\subsubsection*
{
Usage
}
\begin{verbatim}
void gridInqYname(int gridID,
const
char *name);
void gridInqYname(int gridID, char *name);
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
gridID
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt name}]
Name of the Y-axis
Name of the Y-axis. The caller must allocate space for the
returned string. The maximum possible length, in characters, of
the string is given by the predefined constant CDI
\_
MAX
\_
NAME.
\end{deflist}
\end{minipage}
...
...
@@ -685,9 +693,9 @@ The function {\tt gridDefYlongname} defines the longname of a Y-axis.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
longname
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt longname}]
Longname of the Y-axis
Longname of the Y-axis
.
\end{deflist}
\end{minipage}
...
...
@@ -702,15 +710,17 @@ The function {\tt gridInqYlongname} returns the longname of a Y-axis.
\subsubsection*
{
Usage
}
\begin{verbatim}
void gridInqXlongname(int gridID,
const
char *longname);
void gridInqXlongname(int gridID, char *longname);
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
longname
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt longname}]
Longname of the Y-axis
Longname of the Y-axis. The caller must allocate space for the
returned string. The maximum possible length, in characters, of
the string is given by the predefined constant CDI
\_
MAX
\_
NAME.
\end{deflist}
\end{minipage}
...
...
@@ -736,9 +746,9 @@ The function {\tt gridDefYunits} defines the units of a Y-axis.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
gridID
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt units}]
Units of the Y-axis
Units of the Y-axis
.
\end{deflist}
\end{minipage}
...
...
@@ -753,15 +763,17 @@ The function {\tt gridInqYunits} returns the units of a Y-axis.
\subsubsection*
{
Usage
}
\begin{verbatim}
void gridInqYunits(int gridID,
const
char *units);
void gridInqYunits(int gridID, char *units);
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
gridID
\
}
\item
[{\tt gridID}]
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
Grid ID, from a previous call to
{
\htmlref
{
\tt
gridCreate
}{
gridCreate
}}
.
\item
[{\tt units}]
Units of the Y-axis
Units of the Y-axis. The caller must allocate space for the
returned string. The maximum possible length, in characters, of
the string is given by the predefined constant CDI
\_
MAX
\_
NAME.
\end{deflist}
\end{minipage}
...
...
doc/tex/c_ref.tex
View file @
23758023
...
...
@@ -278,7 +278,7 @@ gridInqXlongname
\fi
}
\begin{verbatim}
void gridInqXlongname(int gridID,
const
char *longname);
void gridInqXlongname(int gridID, char *longname);
\end{verbatim}
Get the longname of a X-axis
...
...
@@ -293,7 +293,7 @@ gridInqXname
\fi
}
\begin{verbatim}
void gridInqXname(int gridID,
const
char *name);
void gridInqXname(int gridID, char *name);
\end{verbatim}
Get the name of a X-axis
...
...
@@ -323,7 +323,7 @@ gridInqXunits
\fi
}
\begin{verbatim}
void gridInqXunits(int gridID,
const
char *units);
void gridInqXunits(int gridID, char *units);
\end{verbatim}
Get the units of a X-axis
...
...
@@ -368,7 +368,7 @@ gridInqYlongname
\fi
}
\begin{verbatim}
void gridInqXlongname(int gridID,
const
char *longname);
void gridInqXlongname(int gridID, char *longname);
\end{verbatim}
Get the longname of a Y-axis
...
...
@@ -383,7 +383,7 @@ gridInqYname
\fi
}
\begin{verbatim}
void gridInqYname(int gridID,
const
char *name);
void gridInqYname(int gridID, char *name);
\end{verbatim}
Get the name of a Y-axis
...
...
@@ -413,7 +413,7 @@ gridInqYunits
\fi
}
\begin{verbatim}
void gridInqYunits(int gridID,
const
char *units);
void gridInqYunits(int gridID, char *units);
\end{verbatim}
Get the units of a Y-axis
...
...
doc/tex/c_stream.tex
View file @
23758023
...
...
@@ -14,7 +14,7 @@ The function {\tt streamOpenWrite} creates a new datset.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
filetype
\
}
\item
[{\tt path}]
The name of the new dataset
The name of the new dataset
.
\item
[{\tt filetype}]
The type of the file format, one of the set of predefined
{
\CDI
}
file format types.
The valid
{
\CDI
}
file format types are
{
\tt
FILETYPE
\_
GRB
}
,
{
\tt
FILETYPE
\_
GRB2
}
,
{
\tt
FILETYPE
\_
NC
}
,
...
...
@@ -36,13 +36,13 @@ open stream. Otherwise, a negative number with the error status is returned.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
CDI
\_
EUFILETYPE
\
}
\item
[{\tt CDI\_ESYSTEM}]
Operating system error
Operating system error
.
\item
[{\tt CDI\_EINVAL}]
Invalid argument
Invalid argument
.
\item
[{\tt CDI\_EUFILETYPE}]
Unsupported file type
Unsupported file type
.
\item
[{\tt CDI\_ELIBNAVAIL}]
Library support not compiled in
Library support not compiled in
.
\end{deflist}
\end{minipage}
...
...
@@ -79,7 +79,7 @@ The function {\tt streamOpenRead} opens an existing dataset for reading.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
path
\
}
\item
[{\tt path}]
The name of the dataset to be read
The name of the dataset to be read
.
\end{deflist}
\end{minipage}
...
...
@@ -96,13 +96,13 @@ open stream. Otherwise, a negative number with the error status is returned.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
CDI
\_
EUFILETYPE
\
}
\item
[{\tt CDI\_ESYSTEM}]
Operating system error
Operating system error
.
\item
[{\tt CDI\_EINVAL}]
Invalid argument
Invalid argument
.
\item
[{\tt CDI\_EUFILETYPE}]
Unsupported file type
Unsupported file type
.
\item
[{\tt CDI\_ELIBNAVAIL}]
Library support not compiled in
Library support not compiled in
.
\end{deflist}
\end{minipage}
...
...
@@ -139,7 +139,7 @@ The function {\tt streamClose} closes an open dataset.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
streamID
\
}
\item
[{\tt streamID}]
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
.
\end{deflist}
\end{minipage}
...
...
@@ -160,7 +160,7 @@ The function {\tt streamInqFiletype} returns the filetype of a stream.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
streamID
\
}
\item
[{\tt streamID}]
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
.
\end{deflist}
\end{minipage}
...
...
@@ -190,7 +190,7 @@ with the file format type {\tt FILETYPE\_SRV}, {\tt FILETYPE\_EXT} or {\tt FILET
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
byteorder
\
}
\item
[{\tt streamID}]
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
.
\item
[{\tt byteorder}]
The byte order of a dataset, one of the
{
\CDI
}
constants
{
\tt
CDI
\_
BIGENDIAN
}
and
{
\tt
CDI
\_
LITTLEENDIAN
}
.
...
...
@@ -215,7 +215,7 @@ with the file format type {\tt FILETYPE\_SRV}, {\tt FILETYPE\_EXT} or {\tt FILET
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
streamID
\
}
\item
[{\tt streamID}]
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
.
\end{deflist}
\end{minipage}
...
...
@@ -242,9 +242,9 @@ The function {\tt streamDefVlist} defines the variable list of a stream.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
streamID
\
}
\item
[{\tt streamID}]
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
.
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
.
\end{deflist}
\end{minipage}
...
...
@@ -265,7 +265,7 @@ The function {\tt streamInqVlist} returns the variable list of a stream.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
streamID
\
}
\item
[{\tt streamID}]
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
.
\end{deflist}
\end{minipage}
...
...
@@ -291,9 +291,9 @@ The function {\tt streamDefTimestep} defines the time step of a stream.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
streamID
\
}
\item
[{\tt streamID}]
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
.
\item
[{\tt tsID}]
Timestep identifier
Timestep identifier
.
\end{deflist}
\end{minipage}
...
...
@@ -319,9 +319,9 @@ The function {\tt streamInqTimestep} returns the time step of a stream.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
streamID
\
}
\item
[{\tt streamID}]
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
.
\item
[{\tt tsID}]
Timestep identifier
Timestep identifier
.
\end{deflist}
\end{minipage}
...
...
@@ -347,13 +347,13 @@ to an open dataset.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
streamID
\
}
\item
[{\tt streamID}]
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
.
\item
[{\tt varID}]
Variable identifier
Variable identifier
.
\item
[{\tt data}]
Pointer to a block of data values to be written
Pointer to a block of data values to be written
.
\item
[{\tt nmiss}]
Number of missing values
Number of missing values
.
\end{deflist}
\end{minipage}
...
...
@@ -374,13 +374,13 @@ from an open dataset.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
streamID
\
}
\item
[{\tt streamID}]
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
.
\item
[{\tt varID}]
Variable identifier
Variable identifier
.
\item
[{\tt data}]
Pointer to the location into which the data value is read
Pointer to the location into which the data value is read
.
\item
[{\tt nmiss}]
Number of missing values
Number of missing values
.
\end{deflist}
\end{minipage}
...
...
@@ -402,15 +402,15 @@ variable to an open dataset.
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
streamID
\
}
\item
[{\tt streamID}]
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
Stream ID, from a previous call to
{
\htmlref
{
\tt
streamOpenRead
}{
streamOpenRead
}}
or
{
\htmlref
{
\tt
streamOpenWrite
}{
streamOpenWrite
}}
.
\item
[{\tt varID}]
Variable identifier
Variable identifier
.
\item
[{\tt levelID}]
Level identifier
Level identifier
.
\item
[{\tt data}]
Pointer to a block of data values to be written
Pointer to a block of data values to be written
.