read.hdr | R Documentation |
Read an HDR file which is the header part of a BIL raster file
read.hdr(file, add.nblocks = TRUE, bandorder = NULL, noValue = NULL)
file |
character string. Filename of the file to be read. |
add.nblocks |
logical. Should the agrument nblocks be added to the output? See details. |
bandorder |
character string or NULL. If NULL no changes in the parameter layout are made, else the string of bandorder is used in the hdr file for the parameter layout. |
noValue |
numerical or NULL. Sets the noValue argument in the hdr file. |
If add.nblocks is TRUE (the default) then the argument nblocks
is added to the output list (if it does nikt already exist).
If so, the value from the argument nbands
is copied to nblocks
and nbands
is set to 1. This is because of handling
in Delft-FEWS. See the wiki of Delft-FEWS: (https://publicwiki.deltares.nl/display/FEWSDOC/BIL+BIP+BSQ+Parser).
a data.frame containing the arguments of the hdr file
Simon Frey
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.