r-spatial / rgee

Google Earth Engine for R
https://r-spatial.github.io/rgee/
Other
680 stars 146 forks source link

Create folder and move files in specied folder using rgee #368

Open Sandipriz opened 2 months ago

Sandipriz commented 2 months ago

I have my data in GEE inside the folder

image

training_dir1 <- 'projects/cerrado123/assets/4_output/'

as you see in the image.

When I try to create the sub-folder v3 in folder 4_output, to move all the files from 4_output to the v3 sub-folder as:

user <- ee_get_assethome() addm <- function(x) {sprintf("%s/%s",user, x)}

Create a Folder

ee_manage_create( path_asset = addm("cerrado123/4_output/v3"), asset_type = "Folder" )

It creates the sub_folder in Legacy Asset instead of in Cloud Asset.

image

I don't understand where I go wrong.

Sandipriz commented 2 months ago

@etiennebr, @edzer need your suggestion on this.

edzer commented 2 months ago

Sorry, can't help you on this one.