Creates a stack of MODIS layers, with time written to z dimension. Works in anolog way to timeStack
timeStackMODIS(x, pattern = NULL, ...)
character. dir containing the files to be stacked or character list (the files). IN the former case, it is recommended to use the pattern
argument
See list.files
Arguments to be passed to writeRaster. If specifying a filename, it is strongly recommended to also set a datatype.