class_docstr: Test Sentinel-3 SST L2 reader.
docstr: Create a fake osisaf ghrsst dataset.
docstr_tok: ["Create","a","fake","osisaf","ghrsst","dataset","."]
code: def setup_method(self, tmp_path):
      """Create a fake osisaf ghrsst dataset."""
      self.base_data = np.array(
          ([-32768, 1135, 1125], [1138, 1128, 1080])
      )
      self.lon_data = np.array(
          ([-13.43, 1.56, 11.25], [-11.38, 1.28, 10.80])
      )
      self.lat_data = np.array(
          ([43.43, 55.56, 61.25], [41.38, 50.28, 60.80])
      )
      self.lon = xr.DataArray(
          self.lon_data,
          dims=("nj", "ni"),
          attrs={
              "standard_name": "longitude",
              "units": "degrees_east",
          },
      )
      self.lat = xr.DataArray(
          self.lat_data,
          dims=("nj", "ni"),
          attrs={
              "standard_name": "latitude",
              "units": "degrees_north",
          },
      )
      self.sst = xr.DataArray(
          self.base_data,
          dims=("nj", "ni"),
          attrs={
              "scale_factor": 0.01,
              "add_offset": 273.15,
              "_FillValue": -32768,
              "units": "kelvin",
          },
      )
      self.fake_dataset = xr.Dataset(
          data_vars={
              "sea_surface_temperature": self.sst,
              "longitude": self.lon,
              "latitude": self.lat,
          },
          attrs={
              "start_time": "20220321T112640Z",
              "stop_time": "20220321T145711Z",
              "platform": "NOAA20",
              "sensor": "VIIRS",
          },
      )
  
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 1 for calling the TestGHRSSTL2Reader obj's underlying member method code with example usage: obj.setup_method(tmp_path) without return types