From 0c74680047499c17028042b988212953e1a3152b Mon Sep 17 00:00:00 2001 From: Ben Best Date: Thu, 12 Jan 2023 17:53:27 +0100 Subject: [PATCH] commented out prefixing of assetId with "projects/earthegine-legacy/assets/" --- R/utils-upload.R | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/R/utils-upload.R b/R/utils-upload.R index 038b81b6..51169828 100755 --- a/R/utils-upload.R +++ b/R/utils-upload.R @@ -481,7 +481,8 @@ ee_utils_create_manifest_image <- function(gs_uri, ) # Create a name - name <- sprintf("projects/earthengine-legacy/assets/%s", assetId) + # name <- sprintf("projects/earthengine-legacy/assets/%s", assetId) + name <- assetId # from R date to JS timestamp: time_start + time_end time_start <- rdate_to_eedate(start_time, timestamp = TRUE) @@ -576,7 +577,8 @@ ee_utils_create_manifest_table <- function(gs_uri, ) # Create a name - name <- sprintf("projects/earthengine-legacy/assets/%s", assetId) + # name <- sprintf("projects/earthengine-legacy/assets/%s", assetId) + name <- assetId # Creating tileset sources <- list(