class_docstr: Class for faking the NetCDF4 Filehandler.
docstr: Get the content of the test data.
  
  Here we generate the default content we want to provide depending
  on the provided filename infos.
docstr_tok: ["Get","the","content","of","the","test","data",".","Here","we","generate","the","default","content","we","want","to","provide","depending","on","the","provided","filename","infos","."]
code: def get_test_content(self, filename, filename_info, filetype_info):
      """Get the content of the test data.
  
      Here we generate the default content we want to provide depending
      on the provided filename infos.
      """
      # Retrieve the correct schema to write with potential customization parameters:
      params = FakeLIFileHandlerBase.schema_parameters
      if callable(params):
          # Note: params *IS* callable below:
          params = params(
              filename, filename_info, filetype_info
          )  # pylint: disable=not-callable
  
      settings = get_product_schema(
          filetype_info["file_desc"]["product_type"], params
      )
  
      # Resulting dataset:
      dset = {}
  
      # Also keep a copy of the written content:
      self.content = {}
  
      # Retrieve the variable writer function
      write_variable = self.get_variable_writer(dset, settings)
  
      # Write all the raw (i.e not in sectors) variables:
      self.write_variables(settings, write_variable)
  
      # Write the sector variables:
      self.write_sector_variables(settings, write_variable)
  
      return dset
  
imports: from datetime import datetime
  import numpy
  import xarray
  from satpy.tests.reader_tests.test_netcdf_utils import FakeNetCDF4FileHandler
label_desc: Use image node_id 2 for calling the FakeLIFileHandlerBase obj's underlying member method code with example usage: obj.get_test_content(filename, filename_info, filetype_info) and returns: dset