\HeaderA{netCDF}{High-performance, low-level access to NetCDF data files}{netCDF}
\aliasA{netCDFClose}{netCDF}{netCDFClose}
\aliasA{netCDFIsFile}{netCDF}{netCDFIsFile}
\aliasA{netCDFMSPoints}{netCDF}{netCDFMSPoints}
\aliasA{netCDFOpen}{netCDF}{netCDFOpen}
\aliasA{netCDFRawData}{netCDF}{netCDFRawData}
\aliasA{netCDFStrError}{netCDF}{netCDFStrError}
\aliasA{netCDFVarDouble}{netCDF}{netCDFVarDouble}
\aliasA{netCDFVarID}{netCDF}{netCDFVarID}
\aliasA{netCDFVarInt}{netCDF}{netCDFVarInt}
\aliasA{netCDFVarLen}{netCDF}{netCDFVarLen}
\keyword{file}{netCDF}
\keyword{internal}{netCDF}
\begin{Description}\relax
Functions for low-level access to numerical data in NetCDF files.
They have been optimized for maximum speed and memory efficiency.
\end{Description}
\begin{Usage}
\begin{verbatim}
netCDFStrError(ncerr)
netCDFIsFile(filename)
netCDFOpen(filename)
netCDFClose(ncid)
netCDFVarID(ncid, var)
netCDFVarLen(ncid, var)
netCDFVarDouble(ncid, var)
netCDFVarInt(ncid, var)
netCDFMSPoints(ncid, scanIndex)
netCDFRawData(ncid)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{filename}] path to NetCDF file
\item[\code{ncid}] NetCDF file ID
\item[\code{var}] NetCDF variable ID or variable name
\item[\code{scanIndex}] double vector with \code{scan\_index} from CDF file
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The mechanisms and structure of NetCDF files are not discussed
here, please se the NetCDF documentation for more information.
\end{Details}
\begin{Value}
\code{netCDFStrError} returns the textual description of an error code.

\code{netCDFIsFile} returns \code{TRUE} if the referenced file
is a NetCDF file and \code{FALSE} otherwise.

\code{netCDFOpen} returns the \code{ncid} of the opened file.

\code{netCDFClose} returns the closing status.

\code{netCDFVarID} returns the variable ID.

\code{netCDFVarLen} returns the variable length.

\code{netCDFVarDouble} and \code{netCDFVarInt} return either
double or integer numeric vectors.

\code{netCDFMSPoints} returns a list with elements \code{massValues}
and \code{intensityValues}, with the masses for each scan in
ascending order.

\code{netCDFRawData} returns a named list with components \code{rt},
\code{tic}, \code{scanindex}, \code{mz}, and \code{intensity}.

An error in any of the functions will return an integer error
code with attribute \code{errortext} containing the error description
\end{Value}
\begin{Author}\relax
Colin A. Smith, \email{csmith@scripps.edu}
\end{Author}
\begin{References}\relax
NetCDF file format:
\url{http://my.unidata.ucar.edu/content/software/netcdf/}
\end{References}

