class_docstr: Test the function that converts numpy record arrays into dicts for use within SatPy.
docstr: Test record array.
docstr_tok: ["Test","record","array","."]
code: def test_fun(self):
      """Test record array."""
      inner_st = np.dtype([("test_str", "<S20"), ("test_int", "i4")])
      outer_st = np.dtype([("test_sec", inner_st), ("test_flt", "f4")])
  
      inner_da = np.array([("Testing", 10)], dtype=inner_st)
      outer_da = np.array([(inner_da, 1.45)], dtype=outer_st)
  
      expected = {
          "test_sec": {
              "test_str": np.array([b"Testing"], dtype="<S20"),
              "test_int": np.array([10], dtype=np.int32),
          },
          "test_flt": np.array([1.45], dtype=np.float32),
      }
      assert expected == recarray2dict(outer_da)
  
imports: import datetime
  import unittest
  from unittest import mock
  import dask.array
  import numpy
  import pytest
  from xarray import DataArray
  from satpy.readers.electrol_hrit import HRITGOMSEpilogueFileHandler, HRITGOMSFileHandler, HRITGOMSPrologueFileHandler, epilogue, image_acquisition, prologue, recarray2dict, satellite_status
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 1 for calling the Testrecarray2dict obj's underlying member method code with example usage: obj.test_fun() without return types