code: def get_dataset(self, key, info):
          
          logger.debug('Reading in get_dataset %s.', key.name)
          radiances = self['Rad']
  
          if key.calibration == 'reflectance':
              logger.debug("Calibrating to reflectances")
              res = self._vis_calibrate(radiances)
          elif key.calibration == 'brightness_temperature':
              logger.debug("Calibrating to brightness temperatures")
              res = self._ir_calibrate(radiances)
          elif key.calibration != 'radiance':
              raise ValueError("Unknown calibration '{}'".format(key.calibration))
          else:
              res = radiances
  
          # convert to satpy standard units
          if res.attrs['units'] == '1':
              res *= 100
              res.attrs['units'] = '%'
  
          res.attrs.update({'platform_name': self.platform_name,
                            'sensor': self.sensor,
                            'satellite_latitude': float(self['nominal_satellite_subpoint_lat']),
                            'satellite_longitude': float(self['nominal_satellite_subpoint_lon']),
                            'satellite_altitude': float(self['nominal_satellite_height'])})
          res.attrs.update(key.to_dict())
          # remove attributes that could be confusing later
          res.attrs.pop('_FillValue', None)
          res.attrs.pop('scale_factor', None)
          res.attrs.pop('add_offset', None)
          res.attrs.pop('ancillary_variables', None)  # Can't currently load DQF
          # add in information from the filename that may be useful to the user
          for key in ('observation_type', 'scene_abbr', 'scan_mode', 'platform_shortname'):
              res.attrs[key] = self.filename_info[key]
          # copy global attributes to metadata
          for key in ('scene_id', 'orbital_slot', 'instrument_ID', 'production_site', 'timeline_ID'):
              res.attrs[key] = self.nc.attrs.get(key)
          # only include these if they are present
          for key in ('fusion_args',):
              if key in self.nc.attrs:
                  res.attrs[key] = self.nc.attrs[key]
  
          return res
docs: Load a dataset.