The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
The following example shows how to read a Landsat-8 data set downloaded from the USGS Earth Explorer and how to convert the bands’ scaled counts to radiance, reflectance and/or brightness temperature.
We will use the test data set supplied with this package. In order to
read the data set, just supply the filename (or list of filenames) to
the satellite()
function.
## Loading required package: raster
## Loading required package: sp
path <- system.file("extdata", package = "satellite")
files <- list.files(path, pattern = glob2rx("LC08*.TIF"), full.names = TRUE)
sat <- satellite(files)
The meta data will automatically be loaded since (i) Landsat-8 is a
known platform to the satellite
package and (ii) the name
of the meta data file is in accordance with the USGS conventions.
In order to convert scaled counts of a Satellite object to radiance,
reflectance and/or temperature, just supply it to the
convSC2Rad
, convSC2Ref
or
convRad2BT
function.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.