class_docstr: Write data in VISSR archive format.
class_docstr_tok: ["Write","data","in","VISSR","archive","format","."]
docstr: Initialize the writer.
  
  Args:
      ch_type: Channel type (VIS or IR)
      open_function: Open function to be used (e.g. open or gzip.open)
docstr_tok: ["Initialize","the","writer",".","Args",":","ch_type",":","Channel","type","(","VIS","or","IR",")","open_function",":","Open","function","to","be","used","(","e.g",".","open","or","gzip.open",")"]
code: def __init__(self, ch_type, open_function):
      """Initialize the writer.
  
      Args:
          ch_type: Channel type (VIS or IR)
          open_function: Open function to be used (e.g. open or gzip.open)
      """
      self.ch_type = ch_type
      self.open_function = open_function
  
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 1 to create a new VissrFileWriter object  with example: obj = VissrFileWriter(ch_type, open_function)