getSceneinfo: Retrieve Landsat info from filenames

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

1
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

Author(s)

Ben DeVries and Loic Dutrieux

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
getSceneinfo(c('ndvi.LC82300702014234.tar.gz', 'ndvi.LT52300702008234.tif'))

## Not run: 
# see package 'bfastSpatial' for more info:
library(devtools)
install_github('dutri001/bfastSpatial')
library(bfastSpatial)
?getSceneinfo

## End(Not run)

bendv/timeSyncR documentation built on May 12, 2019, 10:58 a.m.