I'm having trouble batch downloading MODIS products with the rts package in R. I'm using the code below to download the MODIS products:
library(rts) library(raster) library(RCurl) bands = "0,1,0,0,1,0,0,0,0,0,0,0" ModisDownload(x='MOD11A2',h=c(24,25),v=c(5,6),version='006',dates=c('2011.01.01','2011.03.31'),mosaic=F,bands_subset = bands, proj=F)
When I run the code, I get this error message:
Error in .._MD_curlHandle <<- RCurl::getCurlHandle() : cannot change value of locked binding for '.._MD_curlHandle'
I'm not sure what this error message means.