Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing "summary" column of 'records' for Landsat products #93

Open
Javicornejo opened this issue Jul 13, 2021 · 4 comments
Open

Missing "summary" column of 'records' for Landsat products #93

Javicornejo opened this issue Jul 13, 2021 · 4 comments

Comments

@Javicornejo
Copy link

Javicornejo commented Jul 13, 2021

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

@Zamzam1103
Copy link

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.

@Javicornejo
Copy link
Author

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...

@Zamzam1103
Copy link

Zamzam1103 commented Jul 21, 2021 via email

@MLezamaValdes
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants