class_docstr: Test the filehandler.
docstr: Test getting a dataset.
code: def test_dataset(self):
      """Test getting a dataset."""
      did = make_dataid(name="1", calibration="reflectance")
      res = self.fh.get_dataset(did, {})
      assert isinstance(res, xr.DataArray)
      assert res.attrs["platform_name"] == "Metop-C"
      assert res.attrs["sensor"] == "avhrr-3"
      assert res.attrs["name"] == "1"
      assert res.attrs["calibration"] == "reflectance"
      assert res.attrs["units"] == "%"
  
      did = make_dataid(name="4", calibration="brightness_temperature")
      res = self.fh.get_dataset(did, {})
      assert isinstance(res, xr.DataArray)
      assert res.attrs["platform_name"] == "Metop-C"
      assert res.attrs["sensor"] == "avhrr-3"
      assert res.attrs["name"] == "4"
      assert res.attrs["calibration"] == "brightness_temperature"
      assert res.attrs["units"] == "K"
  
imports: import os
  from contextlib import suppress
  from tempfile import mkstemp
  from unittest import TestCase, mock
  import numpy
  import pytest
  import xarray
  import satpy
  from satpy._config import get_config_path
  from satpy.readers import eps_l1b
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 3 for calling the TestEPSL1B obj's underlying member method code with example usage: obj.test_dataset() without return types