To be able to download data the user needs to obtain user and password for the NASA Earthdata Login:
In order to download the desired MODIS product(s), the username and password must be provided through the settings option. There are three ways:
machine e4ftl01.cr.usgs.gov login your_NASA_username password your_NASA_password
your_NASA_username your_NASA_password
Warning: As per NASA policy no more than ten simultaneous connections are permitted in parallel with their server. Hence, no more than ten processes of i.modis.download should run at the same time to avoid that user's actual IP address gets blacklisted.
By default, the downloaded files are stored in the path in which the settings file was saved. The user can change this directory with the folder option. The folder option is required when user and password are passed through the standard input.
The needed time for the download depends on the number of requested tiles, days and the type of MODIS product. For example, the NDVI product ranges from 5 MB to 270 MB and the LST product ranges from 2 MB to 21 MB.
i.modis.download settings=- folder=/tmp
Reading the user and password options from a file (this will download by default the "lst_terra_daily_1000" product). MODIS data will be downloaded to the folder where the SETTING file is:
i.modis.download settings=$HOME/.grass7/i.modis/SETTING
Download of the LST Terra product using the default options and change of the starting and ending dates to custom values:
i.modis.download settings=$HOME/.grass7/i.modis/SETTING startday=2011-05-01 endday=2011-05-31
i.modis.download settings=$HOME/.grass7/i.modis/SETTING product=snow_terra_eight_500
# note: provided in Geographic Lat/Long Grid i.modis.download settings=$HOME/.grass7/i.modis/SETTING product=ndvi_terra_sixteen_5600 startday=2011-05-01 endday=2011-05-31
i.modis.download -g settings=$HOME/.grass7/i.modis/SETTING startday=2011-05-01 endday=2011-05-31
GRASS GIS Wiki: temporal data processing
Map of MODIS Land products' Sinusoidal grid tiling system
Last changed: $Date$