code: def get_dataset(self, key, info):
          
          if self.channel is not None and self.channel != key.name:
              return
          logger.debug('Reading %s.', key.name)
  
          if self.channel is not None and self.channel.startswith('Oa'):
              dataset = self.nc[self.channel + '_reflectance']
          else:
              dataset = self.nc[info['nc_key']]
  
          if key.name == 'wqsf':
              dataset.attrs['_FillValue'] = 1
          elif key.name == 'mask':
              mask = self.getbitmask(dataset.to_masked_array().data)
              dataset = dataset * np.nan
              dataset = dataset.where(~ mask, True)
  
          dataset.attrs['platform_name'] = self.platform_name
          dataset.attrs['sensor'] = self.sensor
          dataset.attrs.update(key.to_dict())
          return dataset
docs: Load a dataset