getclassnames: Extracts the classnames used within a specific FMCOL file.

Description Usage Arguments Details Value Note Author(s) See Also

Description

Using the libfmcol getclassnames routine a character array containing the unique classnames found within the file is returned.

Usage

1
    getclassnames(filename)

Arguments

filename

path to and filename to examine

Details

This function calls a C-function within libfmcol. The functionality used within libfmcol has been thoroughly examined for memory leaks using valgrind. The main uncertainty lies with how the character array is transferred from the C-function calling libfmcol and to the R-function. Stringent memory handling in that step is not guaranteed as this is the first attempt to return a character array. Please use the function with care and do not be surprised if R crashes...

Value

Character vector containing the classnames.

Note

Beware possible memory leaks and subsequent crashes of R.

Author(s)

Øystein Godøy (o.godoy@met.no)

See Also

readfmcol, read123, read124


steingod/R-mipolsat documentation built on May 30, 2019, 2:31 p.m.