class_docstr: File handler for MERIS l2.
class_docstr_tok: ["File","handler","for","MERIS","l2","."]
docstr: Get the bitmask. Experimental default mask.
docstr_tok: ["Get","the","bitmask",".","Experimental","default","mask","."]
code: def getbitmask(self, wqsf, items=None):
      """Get the bitmask. Experimental default mask."""
      items = items or [
          "SEA_ICE",
          "MEGLINT",
          "HIGHGLINT",
          "HAZE_OVER_WATER",
          "WHITECAPS",
          "AC_FAIL",
          "WHITE_SCATT",
          "LOWRW",
          "HIGHRW",
          "OUT_OF_RANGE_AAC",
          "OUT_OF_SCOPE_AAC",
          "OUT_OF_RANGE_OC_NN",
          "OUT_OF_SCOPE_OC_NN",
          "OUT_OF_RANGE_CHL_OC4ME_INPUT",
          "OUT_OF_RANGE_CHL_OC4ME",
      ]
      bflags = BitFlags(
          wqsf,
          flag_list=[
              "SEA_ICE",
              "MEGLINT",
              "HIGHGLINT",
              "CASE2_S",
              "CASE2_ANOM",
              "HAZE_OVER_WATER",
              "WHITECAPS",
              "AC_FAIL",
              "BPAC_ON",
              "WHITE_SCATT",
              "LOWRW",
              "HIGHRW",
              "OUT_OF_RANGE_AAC",
              "OUT_OF_SCOPE_AAC",
              "OUT_OF_RANGE_OC_NN",
              "OUT_OF_SCOPE_OC_NN",
              "OUT_OF_RANGE_CHL_OC4ME_INPUT",
              "OUT_OF_RANGE_CHL_OC4ME",
          ],
      )
      return reduce(np.logical_or, [bflags[item] for item in items])
  
file_path: satpy/satpy/readers/meris_nc_sen3.py
imports: import logging
  from functools import reduce
  import numpy
  from satpy.readers.olci_nc import NCOLCI2, BitFlags, NCOLCIAngles, NCOLCIBase, NCOLCIMeteo
label_desc: Use image node_id 2 for calling the NCMERIS2 obj's underlying member method code with example usage: obj.getbitmask(wqsf, items) and returns: reduce