-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
error with getLandsat_records #108
Comments
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 |
Hi, did you manage to fix this? I'm having the same problem on a windows computer. |
Hi, |
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. |
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.
The text was updated successfully, but these errors were encountered: