fdetsch / MODIS

Download and processing framework for MODIS imagery. The package provides automated access to the global online data archives LP DAAC, LAADS and NSIDC as well as processing capabilities such as file conversion, mosaicking, subsetting and time series.
Other
58 stars 27 forks source link

Error using MRT tool #19

Open Gilbert2015 opened 7 years ago

Gilbert2015 commented 7 years ago

Hello, I get this error whenever i try to use the MRTtool to download and reprocess my MODIS data. "Error in substr(sdsRaw[i], 1, 11) : invalid multibyte string at ''". Can you please assist on what might be the issue.

fdetsch commented 7 years ago

Hi @Gilbert2015, thanks for letting us know. Could you please provide your sessionInfo(), output of MODISoptions(), and function call to start MRT?

Gilbert2015 commented 7 years ago

Hello, Please find below: sessionInfo() R version 3.3.2 (2016-10-31) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: OS X El Capitan 10.11.6

locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages: [1] stats graphics grDevices utils datasets methods base

other attached packages: [1] MODIS_1.0.0 raster_2.5-8 sp_1.2-4 mapdata_2.2-6 maps_3.1.1

loaded via a namespace (and not attached): [1] rgdal_1.2-5 parallel_3.3.2 RCurl_1.95-4.8 Rcpp_0.12.8
[5] grid_3.3.2 nloptr_1.0.4 ptw_1.9-11 bitops_1.0-6
[9] rgeos_0.3-22 XML_3.98-1.5 lattice_0.20-34

MODISoptions() STORAGE:


localArcPath : /Users/gogunkoya/MODIS_ARC outDirPath : /Users/gogunkoya/MODIS_ARC/PROCESSED

DOWNLOAD:


MODISserverOrder : LPDAAC dlmethod : wget stubbornness : 5

PROCESSING:


GDAL : GDAL 2.1.2, released 2016/10/24 MRT : Version 4.1 (March 2011) pixelSize : 0.0083333 outProj : GEO resamplingType : NN dataFormat : GTiff

function call to start MRT runMrt(product="MOD14A2",begin= "2002001", end = "2015365",tileH = 12:13, tileV = 13:13, SDSstring="10",job="Thermal_Anomalies_Fire_Terra_test",outProj="GEO",projPara="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0",datum="WGS84",mosaic=TRUE,pixelSize= "0.0083333",resamplingType="NN")

Output projection: Geographic Output pixel size: 0.0083333 Resampling method: nn Output projection parameters specified! Using: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Local structure is up-to-date. Using offline information!