|
|
@ -131,5 +131,5 @@ build_archive_url = function (date, box, sensor) {
|
|
|
|
#' https://github.com/sensebox/osem-archiver/blob/612e14b/helpers.sh#L66
|
|
|
|
#' https://github.com/sensebox/osem-archiver/blob/612e14b/helpers.sh#L66
|
|
|
|
osem_box_to_archivename = function (box) {
|
|
|
|
osem_box_to_archivename = function (box) {
|
|
|
|
name = gsub('[^A-Za-z0-9._-]', '_', box$name)
|
|
|
|
name = gsub('[^A-Za-z0-9._-]', '_', box$name)
|
|
|
|
paste(box$X_id, name, sep='-')
|
|
|
|
paste(box$X_id, name, sep = '-')
|
|
|
|
}
|
|
|
|
}
|
|
|
|