MODIS

downloaded MODIS (Note: I did not use the linked R package; I just found it. I used a script written by a friend, so I don’t feel comfortable publishing it here. However, following the link above seems to be handy solution. It also seems to take care of the steps below, so if you try it, comment and let me know how it all works for you!Vegetation Continuous Fields 2000-2013.  If you use the R package, you’ll need to download the following and put them in your working directory…

http://r-gis.net/ModisDownload/ModisDownload.R

http://r-gis.net/ModisDownload/ModisLP.RData

library(raster)
library(RCurl)
source('ModisDownload.R')

Here’s what I’d recommend as your options…

ModisDownload(x='MOD44B',
h=c(8:12),
v=c(3:6),
dates = c('2000.01.01','2013.12.31'),
bands_subset="1 0 0 0 0 0 0",
proj_params= "0 0 0 
0 0 0 
0 0 0 
0 0 0 
0 0 0",
mosaic = TRUE,
del = TRUE,
proj = TRUE,
proj_type = "AEA",
pixel_size=250)

For projection type, I’d consider whatever would match the spatial data you’ll be using the rasters with. I like Albers Equal Area because it’s a projected coordinate system, so it makes it easier to do certain things in GIS. Set MRTpath to wherever you installed MRT.

 

Leave a Reply

Your email address will not be published. Required fields are marked *