This function creates and project MODIS grid from slices of a scidb array.
| 1 2 3 | modisrasterFromSciDBArrayRGB(arrayname, slices, mincol, maxcol, minrow, maxrow,
  pixelsize, hostname, port, user, password, filepath, RGBcode,
  overwrite = FALSE)
 | 
| arrayname | A carachter. SciDB array name. | 
| slices | A numeric vector. The array index for each desired time slices. | 
| mincol | An integer. The global index for the minimum MODIS column. | 
| maxcol | An integer. The global index for the maximum MODIS column. | 
| minrow | An integer. The global index for the minimum MODIS row. | 
| maxrow | An integer. The global index for the maximum MODIS row. | 
| pixelsize | A number. The MODIS resolution in meters. | 
| port | An integer. | 
| user | A carachter. | 
| password | A carachter. | 
| filepath | A carachter. | 
| RGBcode | an R data.frame with the class number and R,G,B values in the columns. | 
| overwrite | Logical. If TRUE, raster file will be overwritten if it exists. Default is FALSE. | 
| host | A carachter. | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.