Description Usage Arguments Details Value Author(s) References
Functions for low-level access to numerical data in NetCDF files. They have been optimized for maximum speed and memory efficiency.
1 2 3 4 5 6 7 8 9 10 | 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)
|
filename |
path to NetCDF file |
ncid |
NetCDF file ID |
var |
NetCDF variable ID or variable name |
scanIndex |
double vector with |
The mechanisms and structure of NetCDF files are not discussed here, please se the NetCDF documentation for more information.
netCDFStrError
returns the textual description of an error code.
netCDFIsFile
returns TRUE
if the referenced file
is a NetCDF file and FALSE
otherwise.
netCDFOpen
returns the ncid
of the opened file.
netCDFClose
returns the closing status.
netCDFVarID
returns the variable ID.
netCDFVarLen
returns the variable length.
netCDFVarDouble
and netCDFVarInt
return either
double or integer numeric vectors.
netCDFMSPoints
returns a list with elements massValues
and intensityValues
, with the masses for each scan in
ascending order.
netCDFRawData
returns a named list with components rt
,
tic
, scanindex
, mz
, and intensity
.
An error in any of the functions will return an integer error
code with attribute errortext
containing the error description
Colin A. Smith, csmith@scripps.edu
NetCDF file format: http://my.unidata.ucar.edu/content/software/netcdf/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.