Learn R Programming

Rnightlights (version 0.1.2)

getNlTileTifLclNamePathVIIRS: Constructs the full path used to save/access the decompressed VIIRS .tif file

Description

Constructs the full path used to save/access the decompressed VIIRS .tif file

Usage

getNlTileTifLclNamePathVIIRS(nlYearMonth, tileNum)

Arguments

nlYearMonth

the yearMonth in which the tile was created

tileNum

the index of the tile as given in nlTileIndex

Value

a character vector filename of the .tif VIIRS tile

Examples

Run this code
# NOT RUN {
#using default dirNlTiles
# }
# NOT RUN {
getNlTileTifLclNamePathVIIRS("201401", "1")
# }
# NOT RUN {
 #returns "/dataPath/tiles/viirs_2014_01_75N180W.tif"

# }

Run the code above in your browser using DataLab