Description Usage Arguments Value Examples
View source: R/getnlfilename.R
Constructs the full path used to save/access the compressed downloaded tile Calls the relevant function for the given nlType
1 2 3 4 5 6 | getNlTileZipLclNamePath(
nlType,
configName = pkgOptions(paste0("configName_", nlType)),
nlPeriod,
tileNum
)
|
nlType |
the nlType of interest |
configName |
character the type of raster being processed |
nlPeriod |
the nlPeriod in which the tile was created |
tileNum |
the index of the tile as given in nlTileIndex |
a character string filename of the compressed .tgz VIIRS tile
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
Rnightlights:::getNlTileZipLclNamePath("VIIRS.M", "201401", 1)
#returns "/dataPath/VIIRS_2014_01_75N180W.tgz"
## End(Not run)
## Not run:
Rnightlights:::getNlTileZipLclNamePath("OLS.Y", "2004", 1)
#returns "/dataPath/OLS.Y_2004_00N180W.tar"
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.