class_docstr: Test the HRITFileHandler.
class_docstr_tok: ["Test","the","HRITFileHandler","."]
docstr: Test get_dataset.
docstr_tok: ["Test","get_dataset","."]
code: def test_get_dataset(self, base_get_dataset):
      """Test get_dataset."""
      key = make_dataid(name="CH1", calibration="reflectance")
      base_get_dataset.return_value = DataArray(
          np.arange(25).reshape(5, 5)
      )
      res = self.reader.get_dataset(key, {})
      expected = np.array(
          [
              [np.nan, 0.097752, 0.195503, 0.293255, 0.391007],
              [0.488759, 0.58651, 0.684262, 0.782014, 0.879765],
              [0.977517, 1.075269, 1.173021, 1.270772, 1.368524],
              [1.466276, 1.564027, 1.661779, 1.759531, 1.857283],
              [1.955034, 2.052786, 2.150538, 2.248289, 2.346041],
          ]
      )
  
      assert np.allclose(res.values, expected, equal_nan=True)
      assert res.attrs["units"] == "%"
      ssp_longitude = self.reader.mda["projection_parameters"][
          "SSP_longitude"
      ]
      assert res.attrs["orbital_parameters"] == {
          "projection_longitude": ssp_longitude,
          "projection_latitude": 0.0,
          "projection_altitude": ALTITUDE,
      }
  
imports: import datetime
  import unittest
  from unittest import mock
  import numpy
  from xarray import DataArray
  from satpy.readers.goes_imager_hrit import ALTITUDE, HRITGOESFileHandler, HRITGOESPrologueFileHandler, make_gvar_float, make_sgs_time, sgs_time
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 3 for calling the TestHRITGOESFileHandler obj's underlying member method code with example usage: obj.test_get_dataset(base_get_dataset) without return types