[R-sig-Geo] MODIS Package 0.10-23 (16/04/2015)
Stephen Stewart
stephen.stewart85 at gmail.com
Wed Apr 22 01:28:21 CEST 2015
Hi everyone,
I was testing a fresh install of the MODIS package on my laptop yesterday in
preparation for a workshop I am running later on in the week.
I came across an error in that I have previously not encountered with MODIS
0.10-18.
library(MODIS)
MODISoptions(gdalPath='c:/OSGeo4W64/bin', localArcPath =
"C:/GIS_in_R/MODIS/",outDirPath = "C:/GIS_in_R/MODIS/DONE/") # Set the GDAL
and output paths.
start_date <- as.Date("1-1-2014","%d-%m-%Y")
end_date <- as.Date("1-1-2014","%d-%m-%Y")
dates <- transDate(start_date,end_date)
runGdal("MOD11A2",extent = extent(vic), begin = dates$beginDOY, end =
dates$endDOY, outProj="+proj=longlat +datum=WGS84 +no_defs")
Error in file (description = lockfile, open = "wt") :
cannot open the connection
In addition: warning message:
In file(description = lockfile, open = "wt") :
cannot open file
'C:/GIS_in_R/MODIS/DONE/.auxilliaries/MOD11A2.005.LPDAAC.lock': No such file
or directory.
This currently works on my main machine running R 3.1.3 with MODIS 0.10-18.
I've tried MODIS 0.10-23 on the laptop with both R 3.1.3 and R 3.2.0, both
of which do not work. I've also checked the dependencies (i.e. RCurl and
bitops) which are the same version between my laptop and my main PC. The
both machines have the latest OSGEO4Wx64 installed. The only difference
between them that I can find is the MODIS package version.
Has anyone encountered this issue? Can someone see if they can reproduce?
Thanks in advance
--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/MODIS-Package-0-10-23-16-04-2015-tp7588090.html
Sent from the R-sig-geo mailing list archive at Nabble.com.
More information about the R-sig-Geo
mailing list