Learn R Programming

Rnightlights (version 0.2.4)

tileIdx2Name: Get the name of a tile given its index

Description

Get the name of a VIIRS tile as given by getNlTiles() given its index

Usage

tileIdx2Name(tileNum, nlType)

Arguments

tileNum

index as given by getNlTiles()

nlType

the nlType of interest

Value

Character name of the tile

Examples

Run this code
# NOT RUN {
Rnightlights:::tileName2Idx("00N060W", "VIIRS.M") #returns 6

# }

Run the code above in your browser using DataLab