class_docstr: File handle for sentinel 2 safe XML generic metadata.
class_docstr_tok: ["File","handle","for","sentinel","2","safe","XML","generic","metadata","."]
code: def _sanitize_data(self, data):
      data = data.where(data != self.no_data)
      if self.mask_saturated:
          data = data.where(data != self.saturated, np.inf)
      return data
  
imports: import logging
  import dask.array
  import defusedxml.ElementTree
  import numpy
  import xarray
  from pyresample import geometry
  from satpy._compat import cached_property
  from satpy.readers.file_handlers import BaseFileHandler
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 2 for calling the SAFEMSIMDXML obj's underlying member method code with example usage: obj._sanitize_data(data) and returns: data