Hello there!
so, I have been trying to download some sentinel images, but some of them do not have "download_available" = T when I run getSentinal_data() or check_availability()
In these cases I would try the order_data() function, but it does not work
request is the getSentinel_records() working just fine
`x <- check_availability(request)
y <- x %>% filter(download_available == "FALSE")
ordered <- order_data(y) #should I use the arg "wait_to_complete" ?
getSentinel_data(records = ordered, dir_out = out__dir, as_sf = FALSE)
z <- x %>% filter(download_available == "TRUE")
getSentinel_data(records = z, dir_out = out__dir, as_sf = FALSE)
`
Well, that said, when the download is avaiable, it works just fine.
But, when I try to order_data() nothing happens, the collum "order_status" in the object ordered keeps the answer "unknown", and the download is not possible.
I figured that the problem would be the time between order_data() and get_data(), so I have set the argument "wait_to_complete" = T, nonetheless the function order_data() keeps waiting for too long, nothing happens and eventually an error of ordering time is shown, collapsing the code.
What should I do when I want to order_data() ? I've tryed some different ways, but nothing works, am I using it in the wrong way?
I believe that is something wrong with the request for ordering data in the code?
Hello there! so, I have been trying to download some sentinel images, but some of them do not have "download_available" = T when I run getSentinal_data() or check_availability() In these cases I would try the order_data() function, but it does not work
request is the getSentinel_records() working just fine
`x <- check_availability(request)
y <- x %>% filter(download_available == "FALSE") ordered <- order_data(y) #should I use the arg "wait_to_complete" ? getSentinel_data(records = ordered, dir_out = out__dir, as_sf = FALSE)
z <- x %>% filter(download_available == "TRUE") getSentinel_data(records = z, dir_out = out__dir, as_sf = FALSE)
`
Well, that said, when the download is avaiable, it works just fine. But, when I try to order_data() nothing happens, the collum "order_status" in the object ordered keeps the answer "unknown", and the download is not possible. I figured that the problem would be the time between order_data() and get_data(), so I have set the argument "wait_to_complete" = T, nonetheless the function order_data() keeps waiting for too long, nothing happens and eventually an error of ordering time is shown, collapsing the code.
What should I do when I want to order_data() ? I've tryed some different ways, but nothing works, am I using it in the wrong way? I believe that is something wrong with the request for ordering data in the code?
Thanks in advanced, Renan.