class_docstr: XMLFormat object.
class_docstr_tok: ["XMLFormat","object","."]
docstr: Init the format reader.
docstr_tok: ["Init","the","format","reader","."]
code: def __init__(self, filename):
      """Init the format reader."""
      self.types, self.stypes, self.scales = parse_format(filename)
  
      self.translator = {}
  
      for key, val in self.types.items():
          self.translator[val] = (self.scales[key], self.stypes[key])
  
file_path: satpy/satpy/readers/xmlformat.py
imports: from __future__ import annotations
  import numpy
  from defusedxml.ElementTree import parse
label_desc: Use image node_id 1 to create a new XMLFormat object from inherited base classes: object with example: obj = XMLFormat(filename)