validNlTile: Check valid tile number for a given VIIRS nightlight type

Description Usage Arguments Value Examples

View source: R/tiles.R

Description

Check if a tile number is valid for a given VIIRS nightlight type.

Usage

1
validNlTile(nlTile, nlType)

Arguments

nlType

A character string of nlType

nlTileNum

the index of the tile

Value

TRUE/FALSE

Examples

1
2
3
4
5
Rnightlights:::validNlTile("1", "VIIRS.M")
 #returns TRUE

Rnightlights:::validNlTile("9", "VIIRS.D")
 #returns FALSE

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