[RS-ecology] Inquiry (Importing Landsatdata into R_
Séna Koglo
sena_koglo at yahoo.com
Mon Dec 11 14:13:42 CET 2017
Hi everyone,
I trying to import my Landsat data into R using the command provided in the book but it fails. Could someone help me through? below is the commands that I used :
library(raster) library(sp)
setwd('D:/PROJECTS/PhD_Projects/Objective_1/Classification_in_R/1985') # working directory containing landsat files
allBands<-list.files("raster_data/LT51930551985065XXX01/", pattern = "TIF", full.names = TRUE) # Command to import all bands
p193_r055_1985<- stack(allBands) # Command to stack the band
Looking forwards in hearing from you.
Regards,
--------------------------------
Yawovi Séna KOGLOAgronomist Engineer (Crop & Soil Science)WASCAL PhD Student CC & LU, KNUST, GhanaSkype: koyasega1Contact: +233245363101 or +233501589453 (Ghana) +22891315854 (Togo)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-wuerzburg.de/pipermail/rs-ecology/attachments/20171211/1430adeb/attachment.html>
More information about the RS-ecology
mailing list