

\subsection{Write a variable: {\tt streamWriteVar}}
\index{streamWriteVar}
\label{streamWriteVar}

The function streamWriteVar writes the values of one time step of a variable to an open dataset.
The values are converted to the external data type of the variable, if necessary.
\subsubsection*{Usage}

\begin{verbatim}
    SUBROUTINE streamWriteVar(INTEGER streamID, INTEGER varID, REAL*8 data, 
                              INTEGER nmiss)
\end{verbatim}

\hspace*{4mm}\begin{minipage}[]{15cm}
\begin{deflist}{\tt streamID\ }
\item[{\tt streamID}]
Stream ID, from a previous call to {\htmlref{\tt streamOpenWrite}{streamOpenWrite}}.
\item[{\tt varID}]
Variable identifier.
\item[{\tt data}]
Pointer to a block of double precision floating point data values to be written.
\item[{\tt nmiss}]
Number of missing values.

\end{deflist}
\end{minipage}


\subsection{Write a variable: {\tt streamWriteVarF}}
\index{streamWriteVarF}
\label{streamWriteVarF}

The function streamWriteVarF writes the values of one time step of a variable to an open dataset.
The values are converted to the external data type of the variable, if necessary.
\subsubsection*{Usage}

\begin{verbatim}
    SUBROUTINE streamWriteVarF(INTEGER streamID, INTEGER varID, REAL*4 data, 
                               INTEGER nmiss)
\end{verbatim}

\hspace*{4mm}\begin{minipage}[]{15cm}
\begin{deflist}{\tt streamID\ }
\item[{\tt streamID}]
Stream ID, from a previous call to {\htmlref{\tt streamOpenWrite}{streamOpenWrite}}.
\item[{\tt varID}]
Variable identifier.
\item[{\tt data}]
Pointer to a block of single precision floating point data values to be written.
\item[{\tt nmiss}]
Number of missing values.

\end{deflist}
\end{minipage}


\subsection{Write a horizontal slice of a variable: {\tt streamWriteVarSlice}}
\index{streamWriteVarSlice}
\label{streamWriteVarSlice}

The function streamWriteVarSlice writes the values of a horizontal slice of a variable to an open dataset.
The values are converted to the external data type of the variable, if necessary.
\subsubsection*{Usage}

\begin{verbatim}
    SUBROUTINE streamWriteVarSlice(INTEGER streamID, INTEGER varID, INTEGER levelID, 
                                   REAL*8 data, INTEGER nmiss)
\end{verbatim}

\hspace*{4mm}\begin{minipage}[]{15cm}
\begin{deflist}{\tt streamID\ }
\item[{\tt streamID}]
Stream ID, from a previous call to {\htmlref{\tt streamOpenWrite}{streamOpenWrite}}.
\item[{\tt varID}]
Variable identifier.
\item[{\tt levelID}]
Level identifier.
\item[{\tt data}]
Pointer to a block of double precision floating point data values to be written.
\item[{\tt nmiss}]
Number of missing values.

\end{deflist}
\end{minipage}


\subsection{Write a horizontal slice of a variable: {\tt streamWriteVarSliceF}}
\index{streamWriteVarSliceF}
\label{streamWriteVarSliceF}

The function streamWriteVarSliceF writes the values of a horizontal slice of a variable to an open dataset.
The values are converted to the external data type of the variable, if necessary.
\subsubsection*{Usage}

\begin{verbatim}
    SUBROUTINE streamWriteVarSliceF(INTEGER streamID, INTEGER varID, INTEGER levelID, 
                                    REAL*4 data, INTEGER nmiss)
\end{verbatim}

\hspace*{4mm}\begin{minipage}[]{15cm}
\begin{deflist}{\tt streamID\ }
\item[{\tt streamID}]
Stream ID, from a previous call to {\htmlref{\tt streamOpenWrite}{streamOpenWrite}}.
\item[{\tt varID}]
Variable identifier.
\item[{\tt levelID}]
Level identifier.
\item[{\tt data}]
Pointer to a block of single precision floating point data values to be written.
\item[{\tt nmiss}]
Number of missing values.

\end{deflist}
\end{minipage}
