powered by
Parses through typical Landsat filenames and retrieves information on sensor and acquisition date. Vectorized over sourcefile.
sourcefile
getSceneinfo(sourcefile, ...)
Character. Filename of a landsat layer or dataset.
Additional arguments to pass to write.csv.
write.csv
a data.frame with parsed scene information from Landsat scene names
data.frame
# 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