Description Usage Arguments Value Examples
extract data from a raster using one polygon in a multipolygon.
| 1 | masqVIIRS(ctryPoly, ctryRast, idx, retVal = "colrowval", configName)
 | 
| ctryPoly | the country Polygon layer as SpatialPolygon | 
| ctryRast | the clipped country raster | 
| idx | the index of the polygon in the country polygon layer (shp) | 
| retVal | Whether to return the raster data as a vector, or data.frame with spatial context NULL returns a vector of all values, colrowval returns a data.frame with row, col and raster value while lonlatval returns a data.frame with lon,lat and val. | 
| configName | character the type of raster being processed | 
numeric vector of radiances
| 1 2 3 4 5 6 7 8 9 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.