class_docstr: Test generic image reader.
class_docstr_tok: ["Test","generic","image","reader","."]
docstr: Test direct use of the reader.
docstr_tok: ["Test","direct","use","of","the","reader","."]
code: def test_GenericImageFileHandler_datasetid(self):
      """Test direct use of the reader."""
      from satpy.readers.generic_image import GenericImageFileHandler
  
      fname = os.path.join(self.base_dir, "test_rgba.tif")
      fname_info = {"start_time": self.date}
      ftype_info = {}
      reader = GenericImageFileHandler(fname, fname_info, ftype_info)
  
      foo = make_dataid(name="image-custom")
      assert reader.file_content
      dataset = reader.get_dataset(foo, {})
      assert isinstance(dataset, xr.DataArray)
  
file_path: satpy/satpy/tests/reader_tests/test_generic_image.py
imports: import os
  import unittest
  import dask.array
  import numpy
  import pytest
  import xarray
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 8 for calling the TestGenericImage obj's underlying member method code with example usage: obj.test_GenericImageFileHandler_datasetid() without return types