getSpatialData
getSpatialData copied to clipboard
Missing "summary" column of 'records' for Landsat products
Hello! I'm trying to download landsat_8_c1 products, but when I run the line for records , records<- order_data(records) I get this message:
"Error: A column of 'records' named 'summary' is required for this action, but is missing."
In fact, the column is not on the record, I just have these ones:
names(records) [1] "product_group" "product" "record_id"
[4] "entity_id" "start_time" "stop_time"
[7] "date_acquisition" "day_or_night" "date_publish"
[10] "footprint" "tile_id" "tile_number_horizontal" [13] "tile_number_vertical" "preview_url" "sensor_id"
[16] "cloudcov_land" "cloudcov" "level"
[19] "collection" "collection_category" "cloudcov.1"
And when I try to get Sentinel and Landsat products in one record, I get this messege:
records <- get_records(time_range = c("2021-03-01", "2021-07-01"), products = c("Sentinel-2", "landsat_8_c1")) Searching records for product name 'sentinel-2'... Searching records for product name 'landsat_8_c1'... Recieving available product levels from USGS-EROS ESPA... Error in rbind(deparse.level, ...) : numbers of columns of arguments do not match
I would appreciate any help, sorry bad english! Thanks a lot
Dear Javicornejo how are u? hope u are doing well. I also face similar challenges. How u solved it? U got a solution or not? please share me if you got it.
Dear Javicornejo how are u? hope u are doing well. I also face similar challenges. How u solved it? U got a solution or not? please share me if you got it.
Hi Zamzam, No, the problem persists. I tried with Sentinel 2 and it worked, it generated the "summary" column, but it didn't work with landsat 7 nor landsat 8...
Thank you Javicornejo for your reply. Yes in sentinel there is a summary but it missed the 'download_available' column. I tried by odata order but failed to do so. Please help me.
On Mon, Jul 19, 2021 at 4:09 PM Javicornejo @.***> wrote:
Dear Javicornejo how are u? hope u are doing well. I also face similar challenges. How u solved it? U got a solution or not? please share me if you got it.
Hi Zamzam, No, the problem persists. I tried with Sentinel 2 and it worked, it generated the "summary" column, but it didn't work with landsat 7 nor landsat 8...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/16EAGLE/getSpatialData/issues/93#issuecomment-882533376, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR67GLQ6DNKNZJARWXZK4MDTYQPYHANCNFSM5AIISZHA .
Hi guys, you can create the summary column yourself based on the content of the query "records" from get_records():
records$summary <- paste0("ID: ", records$record_id, " Acquisition Date: ", records$date_acquisition, " Path: ", records$tile_number_horizontal , " Row: ", records$tile_number_vertical) Cheers, Maite