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/>

