Skip to content

getLandsat() returns error related to .searchGranules - promise already under evaluation. #37

@rdjmacklin

Description

@rdjmacklin

Hi all,

Thanks for making this package available. It's been extremely useful!

I've been toying with getLandsat() and can't seem to execute a call to the function without an error being returned.

Here's a small reprex:

library(luna)

if(!dir.exists("./landsat")) {

dir.create("./landsat")

}

extent <- (-77.220322, -76.902756, 45.791702, 45.818989)

pull <- getLandsat(product = "Landsat_8_OLI_TIRS_C1",
start_date = "2018-01-01",
end_date = "2019-12-31",
aoi = extent,
download = TRUE,
username = "",
password = "
",
path = "./landsat")

This returns the following error:

Error in .searchGranules(product = product, start_date = start_date, end_date = end_date, :
promise already under evaluation: recursive default argument reference or earlier problems?

Please let me know if there is something I am doing wrong, or whether there is a bug that can be resolved.

Thank you!
Rory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions