代码
usingEarthEngineInitialize()# 这里的去云波段和之前的sr去云没有什么区别#Function to cloud mask from the pixel_qa band of Landsat 8 SR data.functionmaskL8sr(image)image = EE.Image(image) # cast to make sure we have the correct type# Bits 3 and 5 are cloud shadow and cloud, respectively.cloudShadowBitMask = 1 << 3cloudsBitMask = 1 << 5# G