class_docstr: XMLFormat object.
class_docstr_tok: ["XMLFormat","object","."]
docstr: Apply scales to *array*.
docstr_tok: ["Apply","scales","to","*","array","*","."]
code: def apply_scales(self, array):
      """Apply scales to *array*."""
      return _apply_scales(array, *self.translator[array.dtype])
  
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 3 for calling the XMLFormat obj's underlying member method code with example usage: obj.apply_scales(array) and returns: _apply_scales