R/getTilePath.R

Defines functions getTilePath

#' Returns local path for a given tile
#' @param targetDir local storage directory
#' @param tile tile name
#' @param date acquisition date
#' @param band band
#' @param ext file extension
#' @return character
#' @export
getTilePath = function(targetDir, tile, date, band, ext = 'tif') {
  return(sprintf('%s/%s/%s_%s_%s.%s', targetDir, tile, date, band, tile, ext))
}
IVFL-BOKU/landsupport documentation built on Sept. 13, 2022, 6:23 a.m.