validNlConfigName: Check if a configName is valid for a given nlType

Description Usage Arguments Value Examples

View source: R/tiles.R

Description

Check if a configName is valid for a given nlType

Usage

1
validNlConfigName(configName, nlType)

Arguments

configName

the raster in use

nlType

types of nightlight to check

Value

logical a vector of logical values

Examples

1
2
3
4
5
Rnightlights:::validNlConfigName("VCMCFG", "OLS.Y")
 #returns FALSE

Rnightlights:::validNlConfigName("VCMCFG", "VIIRS.M")
 #returns TRUE

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