Description Usage Arguments Value Examples
Given a list of countries, this function will provide alist of VIIRS nightlight tiles that intersect with them. This helps in processing multiple countries by determining which nightlight tiles are required for processing by allowing the download of all required tiles before processing. Note all VIIRS_* nlTypes have the same nlTiles.
1 | getCtryTileList(ctryCodes, nlType, omitCountries = "none")
|
ctryCodes |
character vector of country codes to process |
nlType |
character string The nlType of interest |
omitCountries |
countries to exclude from processing. This is helpful when the number of countries to exclude is smaller than the number to process e.g. when one wants to process all countries and exclude countries that take long to process i.e. omitCountries = "long" |
TRUE/FALSE
1 2 3 4 5 6 7 | Rnightlights:::getCtryTileList(ctryCodes=c("BDI", "KEN", "RWA", "TZA", "UGA"),
nlType="VIIRS.M", omitCountries="none")
#only 1 tile for OLS
Rnightlights:::getCtryTileList(ctryCodes=c("BDI", "KEN", "RWA", "TZA", "UGA"),
nlType="OLS.Y", omitCountries="none")
#returns "DUMMY"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.