|
127 | 127 | )
|
128 | 128 | }
|
129 | 129 |
|
130 |
| -#' @title Build a file path for a mosaic |
| 130 | +#' @title Build a file path for a mosaic of derived cubes |
131 | 131 | #' @noRd
|
132 | 132 | #' @param tile Tile of data cube
|
133 | 133 | #' @param band Spectral band
|
134 | 134 | #' @param version Version name
|
135 | 135 | #' @param output_dir Directory where file will be saved
|
136 | 136 | #' @returns File path for mosaic
|
137 |
| -.file_mosaic_name <- function(tile, band, version, output_dir) { |
| 137 | +.file_mosaic_name_derived <- function(tile, band, version, output_dir) { |
138 | 138 | .file_path(
|
139 | 139 | tile[["satellite"]], tile[["sensor"]], "MOSAIC",
|
140 | 140 | .tile_start_date(tile), .tile_end_date(tile), band, version,
|
141 | 141 | ext = "tif", output_dir = output_dir
|
142 | 142 | )
|
143 | 143 | }
|
| 144 | +#' @title Build a file path for a mosaic of raster cubes |
| 145 | +#' @noRd |
| 146 | +#' @param tile Tile of data cube |
| 147 | +#' @param band Spectral band |
| 148 | +#' @param version Version name |
| 149 | +#' @param output_dir Directory where file will be saved |
| 150 | +#' @returns File path for mosaic |
| 151 | +.file_mosaic_name_raster <- function(tile, band, version, output_dir) { |
| 152 | + .file_path( |
| 153 | + tile[["satellite"]], tile[["sensor"]], "MOSAIC", |
| 154 | + .tile_start_date(tile), band, version, |
| 155 | + ext = "tif", output_dir = output_dir |
| 156 | + ) |
| 157 | +} |
144 | 158 | #' @title Build a file path for a cropped file
|
145 | 159 | #' @noRd
|
146 | 160 | #' @param tile Tile of data cube
|
|
0 commit comments