[R-sig-Geo] runGdal in MODIS package overrides the default in MODISoptions "asIn" pixel size and output a smaller resoultion pixels

Amit Boshale amit.boshale at yahoo.com
Wed Nov 19 14:37:46 CET 2014


Dear MailLister,

I have a problem with runGdal function in MODIS package. At Nadir the resolution should be 250 m. The output of the following code result are NDVI, EVI, composite day of the year and VI quality Tifs (resolution of 150 m)


> library(MODIS)
> runGdal( job="H12V12", product="MOD13Q1", tileH=12, tileV=12, begin="2000049", end="2000049", SDSstring="111000000010", outProj="EPSG:4326 ,pixelSize="asIn" )

How to stop the re-sampling and keep the original 250 m resolution?

Any help is appreciate

Amit
> MODISoptions() All suggested packages are installed STORAGE:
_______________
localArcPath : E:/localArcPath/ 
outDirPath   : E:/outDirPath/  DOWNLOAD:
_______________
MODISserverOrder : LPDAAC, LAADS 
dlmethod         : auto 
stubbornness     : high  PROCESSING:
_______________
GDAL           : GDAL 1.10.1, released 2013/08/26 
MRT            : Version 4.1 (March 2011) 
pixelSize      : asIn 
outProj        : asIn 
resamplingType : NN 
dataFormat     : GTiff  DEPENDENCIES:
_______________ NULL


> sessionInfo() R version 3.1.2 (2014-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit) locale:
[1] LC_COLLATE=German_Germany.1252  LC_CTYPE=German_Germany.1252   
[3] LC_MONETARY=German_Germany.1252 LC_NUMERIC=C                   
[5] LC_TIME=German_Germany.1252     attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base      other attached packages:
[1] XML_3.98-1.1   RCurl_1.95-4.3 bitops_1.0-6   rgeos_0.3-8    rgdal_0.9-1   
[6] MODIS_0.10-18  raster_2.3-14  sp_1.0-16      loaded via a namespace (and not attached):
[1] grid_3.1.2      lattice_0.20-29 tools_3.1.2  
	[[alternative HTML version deleted]]



More information about the R-sig-Geo mailing list