Skip to content

error with getLandsat_records #108

@oscarperezpriego

Description

@oscarperezpriego

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions