netCDF                 package:xcms                 R Documentation

_H_i_g_h-_p_e_r_f_o_r_m_a_n_c_e, _l_o_w-_l_e_v_e_l _a_c_c_e_s_s _t_o _N_e_t_C_D_F _d_a_t_a _f_i_l_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Functions for low-level access to numerical data in NetCDF files.
     They have been optimized for maximum speed and memory efficiency.

_U_s_a_g_e:

     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)

_A_r_g_u_m_e_n_t_s:

filename: path to NetCDF file

    ncid: NetCDF file ID

     var: NetCDF variable ID or variable name

scanIndex: double vector with 'scan_index' from CDF file

_D_e_t_a_i_l_s:

     The mechanisms and structure of NetCDF files are not discussed
     here, please se the NetCDF documentation for more information.

_V_a_l_u_e:

     '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

_A_u_t_h_o_r(_s):

     Colin A. Smith, csmith@scripps.edu

_R_e_f_e_r_e_n_c_e_s:

     NetCDF file format: <URL:
     http://my.unidata.ucar.edu/content/software/netcdf/>

