class_docstr: File handler for the SGLI l1b data.
class_docstr_tok: ["File","handler","for","the","SGLI","l1b","data","."]
docstr: Scale an array with its attributes `Slope` and `Offset` if available.
docstr_tok: ["Scale","an","array","with","its","attributes","`","Slope","`","and","`","Offset","`","if","available","."]
code: def scale_array(self, array):
      """Scale an array with its attributes `Slope` and `Offset` if available."""
      try:
          return array * array.attrs["Slope"] + array.attrs["Offset"]
      except KeyError:
          return array
  
imports: import logging
  from datetime import datetime
  import dask.array
  import h5py
  import numpy
  import xarray
  from dask.array.core import normalize_chunks
  from satpy.readers.file_handlers import BaseFileHandler
label_desc: Use image node_id 17 for calling the HDF5SGLI obj's underlying member method code with example usage: obj.scale_array(array) and returns: unknown, array