class_docstr: Test VISSR file handler.
class_docstr_tok: ["Test","VISSR","file","handler","."]
docstr: Get test VISSR file.
docstr_tok: ["Get","test","VISSR","file","."]
code: def vissr_file(
      self, dataset_id, file_contents, open_function, tmp_path
  ):
      """Get test VISSR file."""
      filename = tmp_path / "vissr_file"
      ch_type = fmt.CHANNEL_TYPES[dataset_id["name"]]
      writer = VissrFileWriter(ch_type, open_function)
      writer.write(filename, file_contents)
      return filename
  
imports: import datetime
  import gzip
  import fsspec
  import numpy
  import pytest
  import xarray
  from pyresample.geometry import AreaDefinition
  import satpy.tests.reader_tests.gms.test_gms5_vissr_data
  from satpy.readers import FSFile
  from satpy.tests.reader_tests.utils import get_jit_methods, skip_numba_unstable_if_missing
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 6 for calling the TestFileHandler obj's underlying member method code with example usage: obj.vissr_file(dataset_id, file_contents, open_function, tmp_path) and returns: filename