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

builder.load_collection by specific UUID and/or Product Name and cloud cover % #59

Open
rifatSDAS opened this issue Sep 28, 2023 · 1 comment

Comments

@rifatSDAS
Copy link

Hi,

Is there any possible way to call specific data, e.g., Sentinel 2 L2A, with UUID or Product Title and max cloud cover %?

@m-mohr
Copy link
Member

m-mohr commented Sep 28, 2023

Something like this should work for e.g. cloud cover < 25:

let cc = function(value) {
    return this.lt(value, 25)
}
builder.load_collection("S2", ..., ..., [...], {"eo:cloud_cover", cc});

Untested though. We should probably add some documentation around this.

@m-mohr m-mohr closed this as not planned Won't fix, can't repro, duplicate, stale Sep 28, 2023
@m-mohr m-mohr reopened this Sep 28, 2023
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

2 participants