Learn R Programming

satellite (version 0.1.0)

compFilePathLandsat: Get filename, bands and metadata file for Landsat 7 and 8 standard 1B/T format

Description

The function compiles the sensor, band, filename and metadata filename information for standard level 1B/T Landsat files.

Usage

compFilePathLandsat(files)

Arguments

files
Path and filename(s) of one or more Landsat band files or, alternatively, one or more Landsat metadata files.

Value

  • data.frame containing filepaths, band numbers and metadata filepaths.

Examples

Run this code
path <- system.file("extdata", package = "satellite")
files <- list.files(path, pattern = glob2rx("LC8*.tif"), full.names = TRUE)
compFilePathLandsat(files)

Run the code above in your browser using DataLab