getCtryGFMaskOutputFname: Constructs the name of the output raster

Description Usage Arguments Value Examples

View source: R/nightlights.R

Description

Constructs the name of the output raster

Usage

1
2
3
4
5
6
7
8
getCtryGFMaskOutputFname(
  ctryCode,
  nlType,
  nlPeriod,
  gadmVersion = pkgOptions("gadmVersion"),
  gadmPolyType = pkgOptions("gadmPolyType"),
  custPolyPath = NULL
)

Arguments

ctryCode

the ctryCode of interest

nlType

the nlType of interest

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 the name of country raster for a country and a given nlType and nlPeriod

Examples

1
Rnightlights:::getCtryGFMaskOutputFname(ctryCode = "KEN", nlType = "VIIRS.M", nlPeriod = "201412")

chrisvwn/Rnightlights documentation built on Sept. 7, 2021, 1:44 a.m.