You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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.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!
The text was updated successfully, but these errors were encountered: