<div dir="ltr"><div>Hi Alex,</div><div><br></div><div>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.</div><div><br></div><div>gdalDrivers() produces the output that's attached. </div><div><br></div><div>Cheers,</div><div><br></div><div>Hakim</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 11, 2016 at 5:09 PM, Alex Mandel <span dir="ltr"><<a href="mailto:tech_dev@wildintellect.com" target="_blank">tech_dev@wildintellect.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">What operating system?<br>
When you upgraded QGIS did you also upgrade GDAL?<br>
When you upgraded R, did you update your packages (or rebuild any packages)?<br>
<br>
What do you get from the following command?<br>
gdalDrivers()<br>
<br>
Thanks,<br>
Alex<br>
<div><div class="h5"><br>
On 05/02/2016 02:11 PM, Hakim Abdi wrote:<br>
> Hello everyone,<br>
><br>
> I'm having problems with the MODIS package, specifically, the runGdal()<br>
> command after the recent update to R 3.2.5. The error I get is this:<br>
><br>
> Error in runGdal(product = product, begin = dates$beginDOY, end =<br>
> dates$endDOY, : in argument dataFormat='GTiff', format not supported by<br>
> GDAL type: 'gdalWriteDriver()' (column 'name') to list available inputs<br>
><br>
> I'm not quite sure why this is happening, and I haven't found a solution<br>
> online. Does anyone have an idea? The package was working fine before I<br>
> upgraded R from 3.1.1. to 3.2.5, QGIS from 2.12.3 to 2.14.1 and RStudio to<br>
> version 0.99.467.<br>
><br>
> My details are below, thanks for the assistance:<br>
><br>
> R version 3.2.5 (2016-04-14) -- "Very, Very Secure Dishes"<br>
> Copyright (C) 2016 The R Foundation for Statistical Computing<br>
> Platform: x86_64-w64-mingw32/x64 (64-bit)<br>
><br>
> R is free software and comes with ABSOLUTELY NO WARRANTY.<br>
> You are welcome to redistribute it under certain conditions.<br>
> Type 'license()' or 'licence()' for distribution details.<br>
><br>
> R is a collaborative project with many contributors.<br>
> Type 'contributors()' for more information and<br>
> 'citation()' on how to cite R or R packages in publications.<br>
><br>
> Type 'demo()' for some demos, 'help()' for on-line help, or<br>
> 'help.start()' for an HTML browser interface to help.<br>
> Type 'q()' to quit R.<br>
><br>
>> require(MODIS)<br>
> Loading required package: MODIS<br>
> Loading required package: raster<br>
> Loading required package: sp<br>
> MODIS_manual:<br>
> <a href="https://ivfl-rio.boku.ac.at/owncloud/public.php?service=files&t=660dc830afb091237cc40b3dea2fdf6b" rel="noreferrer" target="_blank">https://ivfl-rio.boku.ac.at/owncloud/public.php?service=files&t=660dc830afb091237cc40b3dea2fdf6b</a><br>
><br>
> Attaching package: ‘MODIS’<br>
><br>
> The following object is masked from ‘package:base’:<br>
><br>
>     file.size<br>
><br>
>> MODISoptions()<br>
> All suggested packages are installed<br>
> Detecting available write drivers!<br>
> Found: 64 candidate drivers, detecting file extensions...<br>
> 0 usable drivers detected!<br>
><br>
> STORAGE:<br>
> _______________<br>
> localArcPath : C:/Users/Hakim/Documents/MODIS_ARC/<br>
> outDirPath   : C:/Users/Hakim/Documents/MODIS_ARC/PROCESSED/<br>
><br>
><br>
> DOWNLOAD:<br>
> _______________<br>
> MODISserverOrder : LPDAAC, LAADS<br>
> dlmethod         : auto<br>
> stubbornness     : 5<br>
><br>
><br>
> PROCESSING:<br>
> _______________<br>
> GDAL           : GDAL 2.0.2, released 2016/01/26<br>
> MRT            : Version 4.1 (March 2011)<br>
> pixelSize      : asIn<br>
> outProj        : GEOGRAPHIC<br>
> resamplingType : NN<br>
> dataFormat     : GTiff<br>
><br>
><br>
> DEPENDENCIES:<br>
> _______________<br>
><br>
>> dates <- as.POSIXct( as.Date(c("01/01/2010","01/05/2016"),format =<br>
> "%d/%m/%Y") )<br>
>> dates <- transDate(dates[1],dates[2])<br>
>> product <- "MOD13Q1"<br>
>> bands <- "010"<br>
>> h = c("21","22")<br>
>> v = c("07","08")<br>
</div></div>> *> runGdal(product=product,begin=dates$beginDOY,end = dates$endDOY,tileH =<br>
> h,tileV = v, SDSstring = bands, outProj="4326")*<br>
> *Error in runGdal(product = product, begin = dates$beginDOY, end =<br>
> dates$endDOY,  : **in argument dataFormat='GTiff', format not supported by<br>
> GDAL type: 'gdalWriteDriver()' (column 'name') to list available inputs*<br>
<span class="im">>> sessionInfo()<br>
> R version 3.2.5 (2016-04-14)<br>
> Platform: x86_64-w64-mingw32/x64 (64-bit)<br>
> Running under: Windows 7 x64 (build 7601) Service Pack 1<br>
><br>
> locale:<br>
> [1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United<br>
> States.1252<br>
> [3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C<br>
><br>
> [5] LC_TIME=English_United States.1252<br>
><br>
> attached base packages:<br>
> [1] stats     graphics  grDevices utils     datasets  methods   base<br>
><br>
> other attached packages:<br>
> [1] MODIS_0.10-34 raster_2.5-2  sp_1.2-3<br>
><br>
> loaded via a namespace (and not attached):<br>
> [1] tools_3.2.5     Rcpp_0.12.4     grid_3.2.5      lattice_0.20-33<br>
><br>
><br>
><br>
> __________________________________________________<br>
><br>
> Hakim Abdi | PhD Candidate<br>
> Center for Geobiosphere Science<br>
><br>
> Department of Physical Geography and Ecosystem Science<br>
> Lund University, Sölvegatan 12, SE-223 62 Lund, Sweden<br>
><br>
</span><div class=""><div class="h5">>       [[alternative HTML version deleted]]<br>
><br>
> _______________________________________________<br>
> R-sig-Geo mailing list<br>
> <a href="mailto:R-sig-Geo@r-project.org">R-sig-Geo@r-project.org</a><br>
> <a href="https://stat.ethz.ch/mailman/listinfo/r-sig-geo" rel="noreferrer" target="_blank">https://stat.ethz.ch/mailman/listinfo/r-sig-geo</a><br>
><br>
<br>
</div></div></blockquote></div><br></div></div>