class_docstr: File handler for SAFE MSI files (jp2).
class_docstr_tok: ["File","handler","for","SAFE","MSI","files","(","jp2",")","."]
code: def _read_from_file(self, key):
      proj = xr.open_dataset(
          self.filename, engine="rasterio", chunks=CHUNK_SIZE
      )["band_data"]
      proj = proj.squeeze("band")
      if key["calibration"] == "reflectance":
          return self._mda.calibrate_to_reflectances(
              proj, self._channel
          )
      if key["calibration"] == "radiance":
          return self._mda.calibrate_to_radiances(proj, self._channel)
  
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 3 for calling the SAFEMSIL1C obj's underlying member method code with example usage: obj._read_from_file(key) and returns: self, self