[R-sig-Geo] Package MODIS error in function runMrt( ) object 'ftpdirs' not found

Ahmadou Dicko dicko.ahmadou at gmail.com
Wed Jul 15 02:21:15 CEST 2015


I had similar issue too.
I modified the runMrt to make it work, you will find attached a
working script that you can source to replace MODIS::runMrt before the
authors fix this bug (source('runMrt.R').

Hope it helps.




On Wed, Jul 15, 2015 at 12:12 AM, Roberto Horn <robertomhorn at gmail.com> wrote:
> Hello
>
> Im having trouble with function runMrt from the package MODIS. I've
> already looked for help in forums, with no success. Any help would be
> useful!
>
> runMrt(product="MOD09GA",tileH="13",tileV="11" ,begin="2014.01.01",
> end="2014.01.02", SDSstring="000000000000100001000",
> job="mod09ga/safra14.15", outProj="GEO", datum="WGS84",
> pixelSize="0.0045", mosaic="FALSE")
>
> All suggested packages are installed
> Output projection: Geographic
> Output pixel size: 0.0045
> Resampling method: nn
> No output projection parameters specified. Reprojecting with no Parameters!
> Error in runMrt(product = "MOD09GA", tileH = "13", tileV = "11", begin
> = "2014.01.01",  :
>   object 'ftpdirs' not found
>
> -----------------------------------------------------
> System info:
> Win 7 32-bit
> R version 3.2.1 (2015-06-18)
> MODIS version: 0.10-29
> MRT directory: D:/MRT/MRT
> raster version: 2.4-15
> rgdal 1.0-4
> rgeos 0.3-11
> XML 3.98-1.3
> RCurl 1.95-4.7
>
>
> Thank you!
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo



-- 
Ahmadou H. DICKO
statistician economist (Ingénieur Statisticien Économiste)
PhD candidate in Climate change economics
Faculty of economics and managment - Cheikh Anta Diop University
West African Science Service Center on Climate Change and Adaptated
Land Use (WASCAL)
Center for Development Research (ZEF) - University of Bonn
email : ahmadou.dicko at ucad.edu.sn
twitter : @dickoah
github : github/dickoa
tel : +221 33 827 55 16
portable: +221 77 123 81 69
-------------- next part --------------
A non-text attachment was scrubbed...
Name: runMrt.R
Type: text/x-r-source
Size: 11372 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20150715/a966ba95/attachment.bin>


More information about the R-sig-Geo mailing list