I'm having trouble using ModisDownload()
. Every time I use the command, I get the following error message:
Error in .getModisList(x = xx, h = h, v = v, dates = dates, opt = opt, :
Download error: Server does not response!
In addition: Warning messages:
1: In merge.list(list(...), .opts) :
restarting interrupted promise evaluation
2: In merge.list(list(...), .opts) :
restarting interrupted promise evaluation
3: In merge.list(list(...), .opts) :
restarting interrupted promise evaluation
4: In merge.list(list(...), .opts) :
restarting interrupted promise evaluation
5: In merge.list(list(...), .opts) :
restarting interrupted promise evaluation
I'm using the code below to download MODIS titles.
setwd('C:/modis')
library(raster)
library(MODIS)
library(rts)
library(RCurl)
x = 'MOD14A1'
ModisDownload(x = x,h = c(17,18),v = c(4,5),
dates = '2011.05.01', mosaic = F, proj = F)
The example for this code is also coming from this website: http://r-gis.net/?q=ModisDownload.
ModisDownload
function. There might be one in therts
package. Please make your code complete.x
? Is a Modis Product Name or is something else?rts
package