loicdtx / bfastSpatial

Set of utilities and wrappers to perform change detection on satellite image time-series (Landsat and MODIS). Includes pre-processing steps and functions for spatial implementation of bfastmonitor change detection and post processing of the results.
93 stars 39 forks source link

how to create a dataset like tura #83

Closed notforscience closed 6 years ago

notforscience commented 6 years ago

hi there! I'm very new to R language and bfast spatial. I want to create a RasterBrick like tura using MODIS data. here is my code: alist <- list.files(path="E:/Spatial", pattern =".TIF$", full.names=TRUE) s <- stack(alist) s01<- getValues (s) then i tried to use the 'getSceneinfo' function but failed.

loicdtx commented 6 years ago

Have a look at timeStackMODIS. You may have to override getMODISinfo depending on how your file names are formated