View source: R/fix_envi_format.R
| fix_envi_format | R Documentation |
Internal function which changes some elements of output ENVI files:
file extension is set to .dat if .envi (in case of files created
by writeRaster) is found, and the header is edited properly,
and band names are set in the header file (in particular, SR band names include wavelengths and names like NIR, SWIR; other products shows the product name as band name);
SCL headers include information about class names and colours.
fix_envi_format(infiles)
infiles |
A vector of input filenames, in the sen2r naming convention (safe_shortname) and ENVI format. |
NULL (the function is called for its side effects)
License: GPL 3.0
Luigi Ranghetti, phD (2019)
L. Ranghetti, M. Boschetti, F. Nutini, L. Busetto (2020). "sen2r": An R toolbox for automatically downloading and preprocessing Sentinel-2 satellite data. Computers & Geosciences, 139, 104473. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.cageo.2020.104473")}, URL: https://sen2r.ranghetti.info/.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.