Learn R Programming

Rnightlights (version 0.2.3)

getNlTileTifLclNamePath: Constructs the full path used to save/access the downloaded tile .tgz file

Description

Constructs the full path used to save/access the downloaded tile .tgz file

Usage

getNlTileTifLclNamePath(nlType, nlPeriod, tileNum)

Arguments

nlType

the nlType of interest

nlPeriod

the nlPeriod in which the tile was created

tileNum

the index of the tile as given in nlTileIndex

Value

a character string filename of the compressed .tgz VIIRS tile

Examples

Run this code
# NOT RUN {
Rnightlights:::getNlTileZipLclNamePath("OLS.Y", "2012", 1)
 #returns "/dataPath/OLS.Y_2012_00N180W.tgz"
 
# }
# NOT RUN {
# }
# NOT RUN {
Rnightlights:::getNlTileZipLclNamePath("VIIRS.M", "201412", 1)
 #returns "/dataPath/VIIRS.M_201412_75N180W.tgz"
 
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab