Skip to content

MODIS package's runGdal() returns error: dataFormat='GTiff', format not supported

3 messages · Hakim Abdi, Chris English

#
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:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20160516/0bda50ff/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdalDriversOutput.jpg
Type: image/jpeg
Size: 25422 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20160516/0bda50ff/attachment.jpg>
#
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
="%d/%m/%Y") )
+ 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:

  
  
#
I suspect it is an incomplete Modis build even though library(Modis) loads
without complaint, but will have to check into this later. I recall not
seeing MRT complete...which I think is inscribing a folder though is
probably much more.
Having rgdal loaded as against your sessionInfo() didn't make a difference.
Chris

On Tue, May 17, 2016 at 9:52 AM, chris english <
englishchristophera at gmail.com> wrote: