1 |
cnh |
1.1 |
\section{Basic binary I/O utilities} |
2 |
cnh |
1.2 |
\label{sec:pkg:rw} |
3 |
|
|
The {\tt rw/} package provides a very rudimentary binary I/O capability |
4 |
|
|
for quickly writing {\bf single record} direct-access Fortran binary files. |
5 |
|
|
It is primarily used for writing diagnostic output. |
6 |
|
|
\subsection{Introduction} |
7 |
|
|
Package {\tt rw/} is an interface to the more general {\tt mdsio/} package. |
8 |
|
|
It can be used to write or read direct-access Fortran binary files for |
9 |
|
|
two-dimensional XY and three-dimensional XYZ arrays. Each call to an {\tt rw/} |
10 |
|
|
read or write routine will read (or write) to the first record of a file. |
11 |
|
|
To write files with multiple records use the package {\tt mdsio/} or the |
12 |
|
|
package {\tt mnc/ \ref{sec:pkg:mnc}} which produces netCDF \cite{rew:97} |
13 |
|
|
based output. |
14 |
|
|
|
15 |
cnh |
1.1 |
\subsection{Key subroutines, parameters and files} |
16 |
|
|
\label{sec:pkg:rw:implementation_synopsis} |
17 |
|
|
\subsection{Package Reference} |