I am new to using MODIS data and was hoping to get some help starting out. I have been able to download the hdf file but viewing it in R has been a problem for me. What I have found so far, and tried, is using the gdalUtils package. What I have done so far is this
gdal_translate('MOD11A1.A2012027.h11v04.005.2012028122822.hdf', 'test.tiff', sd_index=1)
This gave me a tif image that I then put back into R using
data <- readTIFF('test.tiff')
This gave me a matrix in R that I could work with, which is what I ideally want. The only issue I had was that the values in the matrix were all decimals and when I did an image plot the each axis went from 0 to 1 instead of the proper lat and lon. the file I am using is LST in kelvin so these values are not correct. I know there is gdalwarp that does the reprojection but I am unsure how to use it. The inputs for s_srs and t_srs I was unsure of.
Can anyone point me in the right direction as a beginner. I have been reading the Steve Mosher blog so I have MRT and OSGeo4w installed plus all the packages he suggested.