code: def get_dataset(self, key, info):
          
          logger.debug('Reading dataset {}'.format(key.name))
  
          # Read data from file and calibrate if necessary
          if 'longitude' in key.name:
              data = self.geo_data['lon']
          elif 'latitude' in key.name:
              data = self.geo_data['lat']
          else:
              tic = datetime.now()
              data = self.calibrate(self.nc['data'].isel(time=0),
                                    calibration=key.calibration,
                                    channel=key.name)
              logger.debug('Calibration time: {}'.format(datetime.now() - tic))
  
          # Mask space pixels
          data = data.where(self.meta['earth_mask'])
  
          # Set proper dimension names
          data = data.rename({'xc': 'x', 'yc': 'y'})
  
          # Update metadata
          self._update_metadata(data, ds_info=info)
  
          return data
docs: Load dataset designated by the given key from file