You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get the following Landsat product as
images <- getLandsat_records(time_range = c("1993-03-01", "1993-04-01"),
products = "landsat_tm_c2_l2")
from which it gives me the following error
Searching records for product name 'landsat_tm_c2_l2'...
Recieving available product levels from USGS-EROS ESPA...
Error in [<-.data.frame(*tmp*, , which(colnames(records) == "cloudcov")[2], :
missing values are not allowed in subscripted assignments of data frames
By tracking this error, It seems the error comes from .translate_records function
Any solution very much appreciated.
Note: While this error is taken when using my Mac M1, the error does not show up in my Windows laptop.
Hi,
Unfortunately, no... I changed my plans and used the Bulk Download tool instead (https://espa.cr.usgs.gov/). I would still be interested if someone found the solution
Activity
EnoLec commentedon Feb 28, 2023
Hi, I am having the exact same issue while trying to download:
get_records(time_range = c("2020-05-15", "2020-05-30"), products = "landsat_ot_c2_l1")
However, I'm working on a Windows computer
frederikzi commentedon Jul 7, 2023
Hi, did you manage to fix this? I'm having the same problem on a windows computer.
EnoLec commentedon Jul 7, 2023
Hi,
Unfortunately, no... I changed my plans and used the Bulk Download tool instead (https://espa.cr.usgs.gov/). I would still be interested if someone found the solution
frederikzi commentedon Jul 7, 2023
Thanks for the tip. I think I may have solved it. The solution is available on my github. I will also create a pull request.