Hi Hakim,
Interesting and unexpected as I am on a linux box but I have the same
problem, or I can reproduce your's:
R version 3.2.2 (2015-08-14)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 14.04.4 LTS
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
LC_TIME=en_US.UTF-8
[4] LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] rgdal_1.1-3 MODIS_0.10-34 raster_2.5-2 sp_1.2-1
loaded via a namespace (and not attached):
[1] rsconnect_0.4.1.11 tools_3.2.2 Rcpp_0.12.4 grid_3.2.2
lattice_0.20-33
dates <- as.POSIXct( as.Date(c("01/01/2010","01/05/2016"),format
dates <- transDate(dates[1],dates[2])
product <- "MOD13Q1"
bands <- "010"
h = c("21","22")
v = c("07","08")
runGdal(product=product,begin=dates$beginDOY,end = dates$endDOY,tileH =
+ h,tileV = v, SDSstring = bands, outProj="4326")
Error in runGdal(product = product, begin = dates$beginDOY, end =
dates$endDOY, :
in argument dataFormat='GTiff', format not supported by GDAL type:
'gdalWriteDriver()' (column 'name') to list available inputs
debugonce(runGdal)
#output
Browse[2]> n
debug: stop("in argument dataFormat='", opts$dataFormat, "', format not
supported by GDAL type: 'gdalWriteDriver()' (column 'name') to list
available inputs")
Browse[2]> n
Error in runGdal(product = product, begin = dates$beginDOY, end =
dates$endDOY, :
in argument dataFormat='GTiff', format not supported by GDAL type:
'gdalWriteDriver()' (column 'name') to list available inputs
Hmmmm. More digging. Sorry to not be helpful to this point.
Chris
On Mon, May 16, 2016 at 11:47 AM, Hakim Abdi <hakim.abdi at nateko.lu.se>
wrote:
Hi Alex,
The OS is a 64 bit Windows 7 as specified in the sessionInfo() output I
posted. When I upgraded QGIS, I did so by uninstalling the previous one and
reinstalling the new version. I'm not quite sure what it means to upgrade
GDAL since I installed it fresh with OSGeo4W. In R, I reinstall all the
packages I need fresh off the repository using the install.views command.
gdalDrivers() produces the output that's attached.
Cheers,
Hakim
On Wed, May 11, 2016 at 5:09 PM, Alex Mandel <tech_dev at wildintellect.com>
wrote:
What operating system?
When you upgraded QGIS did you also upgrade GDAL?
When you upgraded R, did you update your packages (or rebuild any
packages)?
What do you get from the following command?
gdalDrivers()
Thanks,
Alex
On 05/02/2016 02:11 PM, Hakim Abdi wrote:
Hello everyone,
I'm having problems with the MODIS package, specifically, the runGdal()
command after the recent update to R 3.2.5. The error I get is this:
Error in runGdal(product = product, begin = dates$beginDOY, end =
dates$endDOY, : in argument dataFormat='GTiff', format not supported by
GDAL type: 'gdalWriteDriver()' (column 'name') to list available inputs
I'm not quite sure why this is happening, and I haven't found a
online. Does anyone have an idea? The package was working fine before I
upgraded R from 3.1.1. to 3.2.5, QGIS from 2.12.3 to 2.14.1 and
version 0.99.467.
My details are below, thanks for the assistance:
R version 3.2.5 (2016-04-14) -- "Very, Very Secure Dishes"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
Loading required package: MODIS
Loading required package: raster
Loading required package: sp
MODIS_manual:
Attaching package: ?MODIS?
The following object is masked from ?package:base?:
file.size
All suggested packages are installed
Detecting available write drivers!
Found: 64 candidate drivers, detecting file extensions...
0 usable drivers detected!
STORAGE: