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

Issue with GEE JS API: COPERNICUS/S2_SR_HARMONIZED Dataset #7

Open
kmashraful opened this issue Aug 6, 2024 · 0 comments
Open

Issue with GEE JS API: COPERNICUS/S2_SR_HARMONIZED Dataset #7

kmashraful opened this issue Aug 6, 2024 · 0 comments

Comments

@kmashraful
Copy link

Hi,
I’m experiencing an issue with the GEE JS API when using the spectral module. Previously, the code worked fine with var dataset = 'COPERNICUS/S2_SR_HARMONIZED';, but now it throws an error.

ImageCollection (Error)
Error in map(ID=20230105T164659_20230105T164700_T15RWQ):
Image.select: Band pattern 'MSK_CLASSI_OPAQUE' did not match any bands. Available bands: [AOT, B1, B11, B12, B2, B3, B4, B5, B6, B7, B8, B8A, B9, MSK_CLDPRB, MSK_SNWPRB, QA10, QA20, QA60, SCL, TCI_B, TCI_G, TCI_R, WVP]

Switching to var dataset = 'COPERNICUS/S2_SR'; resolves the issue.

Here’s an example GEE code link, (please see lines 14 and 15). Since GEE still offers S2_SR_HARMONIZED as surface reflectance data, can anyone explain why this error is occurring?

Thanks!

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

1 participant