class_docstr: Swap-in NetCDF4 File Handler.
class_docstr_tok: ["Swap-in","NetCDF4","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."""
      from xarray import DataArray
  
      dt_s = filename_info.get(
          "start_time", datetime(2020, 4, 22, 12, 0, 0)
      )
      dt_e = filename_info.get(
          "end_time", datetime(2020, 4, 22, 12, 0, 0)
      )
  
      if filetype_info["file_type"] == "smos_l2_wind":
          file_content = {
              "/attr/time_coverage_start": dt_s.strftime(
                  "%Y-%m-%dT%H:%M:%S Z"
              ),
              "/attr/time_coverage_end": dt_e.strftime(
                  "%Y-%m-%dT%H:%M:%S Z"
              ),
              "/attr/platform_shortname": "SM",
              "/attr/platform": "SMOS",
              "/attr/instrument": "MIRAS",
              "/attr/processing_level": "L2",
              "/attr/geospatial_bounds_vertical_crs": "EPSG:4623",
          }
  
          file_content["lat"] = np.arange(-90.0, 90.25, 0.25)
          file_content["lat/shape"] = (len(file_content["lat"]),)
          file_content["lat"] = DataArray(
              file_content["lat"], dims=("lat")
          )
          file_content["lat"].attrs["_FillValue"] = -999.0
  
          file_content["lon"] = np.arange(0.0, 360.0, 0.25)
          file_content["lon/shape"] = (len(file_content["lon"]),)
          file_content["lon"] = DataArray(
              file_content["lon"], dims=("lon")
          )
          file_content["lon"].attrs["_FillValue"] = -999.0
  
          file_content["wind_speed"] = np.ndarray(
              shape=(
                  1,  # Time dimension
                  len(file_content["lat"]),
                  len(file_content["lon"]),
              )
          )
          file_content["wind_speed/shape"] = (
              1,
              len(file_content["lat"]),
              len(file_content["lon"]),
          )
          file_content["wind_speed"] = DataArray(
              file_content["wind_speed"],
              dims=("time", "lat", "lon"),
              coords=[[1], file_content["lat"], file_content["lon"]],
          )
          file_content["wind_speed"].attrs["_FillValue"] = -999.0
  
      else:
          raise AssertionError()
  
      return file_content
  
file_path: satpy/satpy/tests/reader_tests/test_smos_l2_wind.py
imports: import os
  import unittest
  from datetime import datetime
  from unittest import mock
  import numpy
  import xarray
  from satpy.tests.reader_tests.test_netcdf_utils import FakeNetCDF4FileHandler
label_desc: Use image node_id 1 for calling the FakeNetCDF4FileHandlerSMOSL2WIND obj's underlying member method code with example usage: obj.get_test_content(filename, filename_info, filetype_info) and returns: file_content