

\subsection{Read a variable: {\tt streamReadVar}}
\index{streamReadVar}
\label{streamReadVar}

The function streamReadVar reads all the values of one time step of a variable
from an open dataset.
\subsubsection*{Usage}

\begin{verbatim}
    void streamReadVar(int streamID, int varID, double *data, int *nmiss);
\end{verbatim}

\hspace*{4mm}\begin{minipage}[]{15cm}
\begin{deflist}{\tt streamID\ }
\item[{\tt streamID}]
Stream ID, from a previous call to {\htmlref{\tt streamOpenRead}{streamOpenRead}}.
\item[{\tt varID}]
Variable identifier.
\item[{\tt data}]
Pointer to the location into which the data values are read.
                     The caller must allocate space for the returned values.
\item[{\tt nmiss}]
Number of missing values.

\end{deflist}
\end{minipage}


\subsection{Read a variable: {\tt streamReadVarF}}
\index{streamReadVarF}
\label{streamReadVarF}

The function streamReadVar reads all the values of one time step of a variable
from an open dataset.
\subsubsection*{Usage}

\begin{verbatim}
    void streamReadVar(int streamID, int varID, float *data, int *nmiss);
\end{verbatim}

\hspace*{4mm}\begin{minipage}[]{15cm}
\begin{deflist}{\tt streamID\ }
\item[{\tt streamID}]
Stream ID, from a previous call to {\htmlref{\tt streamOpenRead}{streamOpenRead}}.
\item[{\tt varID}]
Variable identifier.
\item[{\tt data}]
Pointer to the location into which the data values are read.
                     The caller must allocate space for the returned values.
\item[{\tt nmiss}]
Number of missing values.

\end{deflist}
\end{minipage}


\subsection{Read a horizontal slice of a variable: {\tt streamReadVarSlice}}
\index{streamReadVarSlice}
\label{streamReadVarSlice}

The function streamReadVarSlice reads all the values of a horizontal slice of a variable
from an open dataset.
\subsubsection*{Usage}

\begin{verbatim}
    void streamReadVarSlice(int streamID, int varID, int levelID, double *data, 
                            int *nmiss);
\end{verbatim}

\hspace*{4mm}\begin{minipage}[]{15cm}
\begin{deflist}{\tt streamID\ }
\item[{\tt streamID}]
Stream ID, from a previous call to {\htmlref{\tt streamOpenRead}{streamOpenRead}}.
\item[{\tt varID}]
Variable identifier.
\item[{\tt levelID}]
Level identifier.
\item[{\tt data}]
Pointer to the location into which the data values are read.
                     The caller must allocate space for the returned values.
\item[{\tt nmiss}]
Number of missing values.

\end{deflist}
\end{minipage}


\subsection{Read a horizontal slice of a variable: {\tt streamReadVarSliceF}}
\index{streamReadVarSliceF}
\label{streamReadVarSliceF}

The function streamReadVarSliceF reads all the values of a horizontal slice of a variable
from an open dataset.
\subsubsection*{Usage}

\begin{verbatim}
    void streamReadVarSliceF(int streamID, int varID, int levelID, float *data, 
                             int *nmiss);
\end{verbatim}

\hspace*{4mm}\begin{minipage}[]{15cm}
\begin{deflist}{\tt streamID\ }
\item[{\tt streamID}]
Stream ID, from a previous call to {\htmlref{\tt streamOpenRead}{streamOpenRead}}.
\item[{\tt varID}]
Variable identifier.
\item[{\tt levelID}]
Level identifier.
\item[{\tt data}]
Pointer to the location into which the data values are read.
                     The caller must allocate space for the returned values.
\item[{\tt nmiss}]
Number of missing values.

\end{deflist}
\end{minipage}
