class_docstr: Test the HRITFileHandler.
class_docstr_tok: ["Test","the","HRITFileHandler","."]
docstr: Set up the hrit file handler for testing.
docstr_tok: ["Set","up","the","hrit","file","handler","for","testing","."]
code: def setUp(self, new_fh_init):
      """Set up the hrit file handler for testing."""
      blob = "$HALFTONE:=10\r\n_NAME:=albedo\r\n_UNIT:=percent\r\n0:=0.0\r\n1023:=100.0\r\n".encode()
      mda = {
          "projection_parameters": {"SSP_longitude": -123.0},
          "spectral_channel_id": 1,
          "image_data_function": blob,
      }
      HRITGOESFileHandler.filename = "filename"
      HRITGOESFileHandler.mda = mda
      self.prologue = mock.MagicMock()
      self.prologue.prologue = test_pro
      self.reader = HRITGOESFileHandler(
          "filename", {}, {}, self.prologue
      )
  
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 1 for calling the TestHRITGOESFileHandler obj's underlying member method code with example usage: obj.setUp(new_fh_init) without return types