class_docstr: Test Sentinel-3 SST L2 reader.
docstr: Test retrieval of datasets.
docstr_tok: ["Test","retrieval","of","datasets","."]
code: def test_get_dataset(self, tmp_path):
      """Test retrieval of datasets."""
      filename_info = {}
      tmp_filepath = tmp_path / "fake_dataset.nc"
      self.fake_dataset.to_netcdf(os.fspath(tmp_filepath))
  
      test = GHRSSTL2FileHandler(
          os.fspath(tmp_filepath), filename_info, None
      )
  
      test.get_dataset("longitude", {"standard_name": "longitude"})
      test.get_dataset("latitude", {"standard_name": "latitude"})
      test.get_dataset(
          "sea_surface_temperature",
          {"standard_name": "sea_surface_temperature"},
      )
  
      with pytest.raises(KeyError):
          test.get_dataset(
              "erroneous dataset",
              {"standard_name": "erroneous dataset"},
          )
  
file_path: satpy/satpy/tests/reader_tests/test_ghrsst_l2.py
imports: import os
  import tarfile
  from datetime import datetime
  from pathlib import Path
  import numpy
  import pytest
  import xarray
  from satpy.readers.ghrsst_l2 import GHRSSTL2FileHandler
label_desc: Use image node_id 5 for calling the TestGHRSSTL2Reader obj's underlying member method code with example usage: obj.test_get_dataset(tmp_path) without return types