Learn R Programming

spectral.methods (version 0.7.2.133)

readNcdfSpectral: Read the results of a spectral decomposition (from a netCDF file)

Description

readNcdfSpectral reads spectrally decomposed ncdf data (i.e. the output of a call to decomposeNcdf).

Usage

readNcdfSpectral(fileName, varName, rangeBandsGet)

Arguments

fileName
character string: name of the netCDF file
varName
character string: name of the variable to extract.
rangeBandsGet
vector: Vector defining the bands to extract. Can be either logical with one TRUE/FALSE per band in the file or a numeric vector of length two with the lower and the upper spectral border.

Value