Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Landsat 8 Band Quality Assessment Band

Download Script

Evaluate and visualize


This script uses the decodeL8C2Qa function to decode the BQA band from Landsat 8/9 Collection 2. This is then split into 7 classes:

  • Clear Pixels - returns the True Color image.
  • Water - Dark Blue
  • Snow - Pink
  • Cloud - White
  • Dilated Clouds - Gray
  • Cloud Shadow - Brown
  • Cirrus - Cyan

Description of representative images

BQA class map of Bern. Acquired on 2022-09-01, processed by Sentinel Hub.