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 _band_index(self, band):
      band_indices = self.band_indices
      band_conversions = {
          "B01": "B1",
          "B02": "B2",
          "B03": "B3",
          "B04": "B4",
          "B05": "B5",
          "B06": "B6",
          "B07": "B7",
          "B08": "B8",
          "B8A": "B8A",
          "B09": "B9",
          "B10": "B10",
          "B11": "B11",
          "B12": "B12",
      }
      band_index = band_indices[band_conversions[band]]
      return band_index
  
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 4 for calling the SAFEMSIMDXML obj's underlying member method code with example usage: obj._band_index(band) and returns: band_index