Learn R Programming

bfastSpatial (version 0.6.2)

getSceneinfo: Retrieve Landsat info from filenames

Description

Parses through typical Landsat filenames and retrieves information on sensor and acquisition date. Vectorized over sourcefile.

Usage

getSceneinfo(sourcefile, ...)

Arguments

sourcefile

Character. Filename of a landsat layer or dataset.

...

Additional arguments to pass to write.csv.

Value

a data.frame with parsed scene information from Landsat scene names

Examples

Run this code
# NOT RUN {
getSceneinfo(c('ndvi.LC82300702014234.tar.gz', 'ndvi.LT52300702008234.tif'))

# Load tura
data(tura)
getSceneinfo(names(tura))
# }

Run the code above in your browser using DataLab