getCtryRasterOutputFnamePath: Get the full path to the file where the cropped VIIRS country...

Description Usage Arguments Value Examples

View source: R/nightlights.R

Description

Get the full path to the file where the cropped VIIRS country raster is stored. This file is created when processing the country before extracting the data. It can be used to re-process a country much faster

Usage

1
2
3
4
5
6
getCtryRasterOutputFnamePath(ctryCode, nlType, configName,
  multiTileStrategy = pkgOptions("multiTileStrategy"),
  multiTileMergeFun = pkgOptions("multiTileMergeFun"),
  removeGasFlares = pkgOptions("removeGasFlares"), nlPeriod,
  gadmVersion = pkgOptions("gadmVersion"),
  gadmPolyType = pkgOptions("gadmPolyType"), custPolyPath = NULL)

Arguments

ctryCode

the ctryCode of interest

nlType

the nlType of interest

configName

character the type of raster being processed

multiTileStrategy

character How to handle multiple tiles per nlPeriod

multiTileMergeFun

character The function to use to merge tiles

removeGasFlares

logical Whether to perform gas flare removal pre-processing

nlPeriod

the nlPeriod of interest

gadmVersion

The GADM version to use

gadmPolyType

The format of polygons to download from GADM

custPolyPath

The path to a custom polygon as an alternative to using GADM polygons

Value

Character full path to the cropped VIIRS country raster for a country and a given year and month

Examples

1
2
3
4
5
6
## Not run: 
getCtryRasterOutputFnamePath("KEN","VIIRS.M", "201412")

## End(Not run)

#export for exploreData() shiny app

Rnightlights documentation built on Aug. 29, 2019, 5:02 p.m.