class_docstr: Writer for NinjoTiff files.
class_docstr_tok: ["Writer","for","NinjoTiff","files","."]
docstr: Inititalize the writer.
docstr_tok: ["Inititalize","the","writer","."]
code: def __init__(self, tags=None, **kwargs):
      """Inititalize the writer."""
      ImageWriter.__init__(
          self,
          default_config_filename="writers/ninjotiff.yaml",
          **kwargs,
      )
  
      self.tags = self.info.get("tags", None) if tags is None else tags
      if self.tags is None:
          self.tags = {}
      elif not isinstance(self.tags, dict):
          # if it's coming from a config file
          self.tags = dict(
              tuple(x.split("=")) for x in self.tags.split(",")
          )
  
file_path: satpy/satpy/writers/ninjotiff.py
imports: import logging
  import numpy
  import pyninjotiff.ninjotiff
  import xarray
  from trollimage.xrimage import invert_scale_offset
  from satpy.writers import ImageWriter
label_desc: Use image node_id 1 to create a new NinjoTIFFWriter object from inherited base classes: ImageWriter with example: obj = NinjoTIFFWriter(tags)