parse_vardef.Rd
Parse a reference to a variable within a file
parse_vardef(vardef)
vardef | A variable definition, constructed
using the following syntax:
<filename>::<variables_or_bands>
where A limited amount of transformation can be specified by adding extra characters to the band number or variable name:
A complete example is:
In this example, band 1 is read from the file. NODATA values
are replaced with zero, and all values are negated. The values
are read into a variable called |
---|
a list containing:
The filename containing the data
A list of variables within the file. If NULL, then all variables within the file should be read.