class_docstr: AMSR2 level 2 file handler.
class_docstr_tok: ["AMSR2","level","2","file","handler","."]
docstr: Get output data and metadata of specified dataset.
docstr_tok: ["Get","output","data","and","metadata","of","specified","dataset","."]
code: def get_dataset(self, ds_id, ds_info):
      """Get output data and metadata of specified dataset."""
      var_path = ds_info["file_key"]
  
      data = self[var_path].squeeze()
      data = self.mask_dataset(ds_info, data)
      data = self.scale_dataset(var_path, data)
  
      if ds_info.get("name") == "ssw":
          data = data.rename({"dim_0": "y", "dim_1": "x"})
      metadata = self.get_metadata(ds_id, ds_info)
      data.attrs.update(metadata)
      return data
  
imports: from satpy.readers.amsr2_l1b import AMSR2L1BFileHandler
label_desc: Use image node_id 3 for calling the AMSR2L2FileHandler obj's underlying member method code with example usage: obj.get_dataset(ds_id, ds_info) and returns: data