class_docstr: Test VISSR file handler.
class_docstr_tok: ["Test","VISSR","file","handler","."]
docstr: Get open function for writing test files.
docstr_tok: ["Get","open","function","for","writing","test","files","."]
code: def open_function(self, with_compression):
      """Get open function for writing test files."""
      return gzip.open if with_compression else open
  
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 5 for calling the TestFileHandler obj's underlying member method code with example usage: obj.open_function(with_compression) and returns: unknown