Skip to content
Prev 24405 / 29559 Next

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

Playing with MODISoptions.R lines 155-162:
defined at present ln 157
+ {
+ stop(paste0("The 'gdalPath' you have provided
'",normalizePath(gdalPath,"/",FALSE) ,
+ "' does not contain any gdal utilities, make sure to address the
+ folder with GDAL executables (ie: gdalinfo)!"))
+ }
The preceding executes without complaint or stop as gdalinfo was found in
/usr/local/bin to have length >0.
47 GTiff  GeoTIFF   TRUE  TRUE    FALSE

51  HDF4Image     HDF4 Dataset   TRUE FALSE    FALSE

We have the necessary drivers. Hard coding MODIS_Opts.R gdalPath doesn't
work. Ah well.


On Thu, May 19, 2016 at 7:10 AM, chris english <
englishchristophera at gmail.com> wrote: