class_docstr: Swap-in HDF5 File Handler.
class_docstr_tok: ["Swap-in","HDF5","File","Handler","."]
docstr: Mimic reader input file content.
docstr_tok: ["Mimic","reader","input","file","content","."]
code: def get_test_content(self, filename, filename_info, filetype_info):
      """Mimic reader input file content."""
      file_content = {
          "/attr/PlatformShortName": "GCOM-W1",
          "/attr/SensorShortName": "AMSR2",
          "/attr/StartOrbitNumber": "22210",
          "/attr/StopOrbitNumber": "22210",
      }
      k = "Geophysical Data"
      file_content[k] = DEFAULT_FILE_DATA[:, :]
      file_content[k + "/shape"] = (
          DEFAULT_FILE_SHAPE[0],
          DEFAULT_FILE_SHAPE[1],
      )
      file_content[k + "/attr/UNIT"] = "K"
      file_content[k + "/attr/SCALE FACTOR"] = 1
  
      k = "Latitude of Observation Point"
      file_content[k] = DEFAULT_FILE_DATA[:, :]
      file_content[k + "/shape"] = (
          DEFAULT_FILE_SHAPE[0],
          DEFAULT_FILE_SHAPE[1],
      )
      file_content[k + "/attr/UNIT"] = "deg"
      file_content[k + "/attr/SCALE FACTOR"] = 1
      k = "Longitude of Observation Point"
      file_content[k] = DEFAULT_FILE_DATA[:, :]
      file_content[k + "/shape"] = (
          DEFAULT_FILE_SHAPE[0],
          DEFAULT_FILE_SHAPE[1],
      )
      file_content[k + "/attr/UNIT"] = "deg"
      file_content[k + "/attr/SCALE FACTOR"] = 1
  
      convert_file_content_to_data_array(
          file_content, dims=("dim_0", "dim_1")
      )
      return file_content
  
file_path: satpy/satpy/tests/reader_tests/test_amsr2_l2.py
imports: import os
  import unittest
  from unittest import mock
  import numpy
  from satpy.tests.reader_tests.test_hdf5_utils import FakeHDF5FileHandler
  from satpy.tests.utils import convert_file_content_to_data_array
label_desc: Use image node_id 1 for calling the FakeHDF5FileHandler2 obj's underlying member method code with example usage: obj.get_test_content(filename, filename_info, filetype_info) and returns: file_content