class_docstr: File handler for OLCI l2.
docstr: Get the bitmask.
docstr_tok: ["Get","the","bitmask","."]
code: def getbitmask(self, wqsf, items=None):
      """Get the bitmask."""
      if items is None:
          items = DEFAULT_MASK_ITEMS
      bflags = BitFlags(wqsf)
      return reduce(np.logical_or, [bflags[item] for item in items])
  
imports: import logging
  from functools import reduce
  import dask.array
  import numpy
  import xarray
  from satpy._compat import cached_property
  from satpy.readers import open_file_or_filename
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.utils import angle2xyz, get_legacy_chunk_size, xyz2angle
label_desc: Use image node_id 4 for calling the NCOLCI2 obj's underlying member method code with example usage: obj.getbitmask(wqsf, items) and returns: reduce