Nothing
#' Create a name with time stamp
#'
#' @param x SpatRaster with time attribute
#' @param model character - name of model
#' @param desc character - additional description (optional)
#' @family Helper
#' @keywords internal
timename <- function(x, model, desc = NULL) {
time <- terra::time(x)
if (!is.null(desc)) model <- paste(model, desc, "_")
newname <- paste0(model, "_", gsub("-", "", paste(time)))
return(newname)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.